编辑: 枪械砖家 | 2013-01-09 |
20 # define IDNUMBER
20 # define SEX
16 # define TEL
20 # define STATE
10 void putinfo(char a[10],int i);
struct data { char month[5];
char day[5];
char year[5];
};
struct leavedata { char month[5];
char day[5];
char year[5];
};
struct guest{ char name[NAME];
char IDnumber[IDNUMBER];
char sex[SEX];
char Telephone[TEL];
struct data Arrival;
char Roomnumber[8];
struct leavedata Checkout;
char Deposit[5];
char state[STATE];
} ;
struct guest blank[100];
int counter=0;
void found(){ if(counter