Traditional Culture Encyclopedia - Hotel franchise - C language programming hotel management urgently needs programmers.

C language programming hotel management urgently needs programmers.

Internal examination room (structural room *pr)

{ char phone nu[4][ 12]= { " 1 10 "," 1 19 "," 120 "," 122 " }; /* Illegal private phone number */

char type[3][2]={"2 "," T "," T " };

int flag= 1,I;

Static intpass =1;

If(NULL==pr) {printf ("Error: empty point! Unable to check data: \ n "); Returns 0; }

Printf ("Starting part maintenance: about the room \ n");

while(strlen(pr-& gt; Roomnu)>5 )/* Check the data length to prevent errors when saving binary data */

{ pr-& gt; room nu[5]= 0;

Printf ("Error: roomnu: %s is longer than 5 bytes. \n ",pr-& gt; room nu);

Printf ("Please choose another shorter room nu: \ n");

scanf("%s ",pr-& gt; room nu);

}

while(strlen(pr-& gt; Cleaning agent) > gt; 19 )/* Check the data length to prevent errors when saving binary data */

{ pr-& gt; Cleaner [19] = 0;

Printf ("Error: Cleaner: %s is longer than 19 bytes. \n ",pr-& gt; Cleaner);

Printf ("Please choose another shorter name: \ n");

scanf("%s ",pr-& gt; Cleaner);

}

while(flag | | strlen(pr-& gt; Phonenu)> 1 1)/* Check data content (controlled by flags) and length to prevent errors when saving binary data */

{

while(strlen(pr-& gt; Phonenu)> 1 1 )/* Check length */

{ pr-& gt; phone nu[ 1 1]= 0;

Printf ("Error: Phone number: %s is longer than 1 1 byte. \n ",pr-& gt; phonenu);

Printf ("Please choose another shorter phone number nu: \ n");

scanf("%s ",pr-& gt; phonenu);

}

While(flag)/* Check the content */* This algorithm is also problematic. The content is illegal, but what about the length? */

{ for(I = 0; Flag & me<4; i++)

if(0 = = strcmp(pr-& gt; Phonenu, phonenu[I])/* The content is illegal */

{printf ("Error: illegal phone number: %s! \n ",pr-& gt; phonenu);

flag = 0; /* Illegal content detected */

}

if(flag)flag = 0; /* Content check passed */

else { flag = 1;

Printf ("Please enter a legal phone number: \ n");

scanf("%s ",pr-& gt; phonenu); /* Content check failed, re-income */

}

}

}

flag = 1;

while(flag | | strlen(pr-& gt; Type)> 1)/* Check data content (controlled by flag) and length. This example is different from the last one */

{

while(strlen(pr-& gt; Type)> 1 )/* check length */

{ pr-& gt; Type [1] = 0;

Printf ("Error: Type: %s is longer than 1 byte. \n ",pr-& gt; Type);

Printf ("Please choose another shorter type: \ n");

scanf("%s ",pr-& gt; Type);

}

While(flag)/* Check the content */

{ if(strcmp(pr-& gt; type,type[0])& amp; & ampstrcmp(pr-& gt; type,type[ 1])& amp; & ampstrcmp(pr-& gt; Type, type[2])/* Illegal content */

{printf ("Error: illegal type: %s! \n ",pr-& gt; Type);

flag = 0; /* Illegal content detected */

}

if(flag)flag = 0; /* Content check passed */

else { flag = 1;

Printf ("Please enter legal type: \ n");

scanf("%s ",pr-& gt; Type); /* Content check failed, re-income */

}

}

}

while(pr->; Maximum value & ltpr-& gt;; Currentclient )/* Check the connection between data */

{printf ("Error: The capacity of the room is not suitable for the current number of customers. \ n ");

Printf ("Please change the maximum value: \ n");

scanf("%d ",& amp(pr-& gt; Maximum));

}/* Check whether the maximum capacity of the room is suitable for the current number of customers. If the former is less than the latter, write it to the error report file */

Printf ("Congratulations: the room inspection passed %d! \n”,pass++);

Returns1;

}

Int CheckClient (structure client *pc)

{ int flag= 1,I;

char sex[4][2]={"m "," M "," F "," F " };

Static intpass =1;

If(NULL==pc) {printf ("Error: null point! Unable to check data: \ n "); Returns 0; }

Printf ("Starting Parts Maintenance: About the Customer \ n");

while(strlen(PC-& gt; Roomnu)>5 )/* Check the room length */

{ PC-& gt; room nu[5]= 0;

Printf ("Error: roomnu: %s is longer than 5 bytes. \n ",PC-& gt; room nu);

Printf ("Please choose another shorter room nu: \ n");

scanf("%s ",PC-& gt; room nu);

}

while(strlen(PC-& gt; Identity _ card)! = 18 )/* Check the length of the ID number */

{ PC-& gt; identity _ card[ 18]= 0;

Printf ("Error: identity_card:%s is not 18 bytes. \n ",PC-& gt; Identity _ card);

Printf ("Please check the length and re-enter: \ n");

scanf("%s ",PC-& gt; Identity _ card);

}

while(strlen(PC-& gt; Name) > 19)/* Check the name length */

{ PC-& gt; name[ 19]= 0;

Printf ("Error: Name: %s is longer than 19 bytes. \n ",PC-& gt; Name);

Printf ("Please choose another shorter phone number nu: \ n");

scanf("%s ",PC-& gt; Name);

}

while(flag | | strlen(PC-& gt; Sex)> 1)/* Check the gender content (controlled by the logo) and length */

{

while(strlen(PC-& gt; Sex)> 1 )/* Check length */

{ PC-& gt; Gender [1] = 0;

Printf ("Error: Gender: %s is longer than 1 byte. \n ",PC-& gt; Sex);

Printf ("Please choose another shorter gender: \ n");

scanf("%s ",PC-& gt; Sex);

}

While(flag)/* Check the content */

{ if(strcmp(PC-& gt; sex,sex[0])& amp; & ampstrcmp(PC-& gt; Sex, sex [1])&; & ampstrcmp(PC-& gt; Sex, sex [2])&; & ampstrcmp(PC-& gt; Sex, sex[3])/* The content is illegal */

{printf ("Error: Illegal: %s! \n ",PC-& gt; Sex);

flag = 0; /* Illegal content detected */

}

if(flag)flag = 0; /* Content check passed */

else { flag = 1;

Printf ("Please enter legal gender: \ n");

scanf("%s ",PC-& gt; Sex); /* Content check failed, re-income */

}

}

}

while(strlen(PC-& gt; Date)! =8 )/* Check date length */

{ PC-& gt; date[8]= 0;

Printf ("Error: Date: %s is not 8 bytes. \n ",PC-& gt; Date);

Printf ("Please check the length and re-enter: \ n");

scanf("%s ",PC-& gt; Date);

}

while(strlen(PC-& gt; Collection) > 5 )/* Check payee length */

{ PC-& gt; collect[5]= 0;

Printf ("Error: Collection: %s is not 5 bytes. \n ",PC-& gt; Collection);

Printf ("Please check the length and re-enter: \ n");

scanf("%s ",PC-& gt; Collection);

}

while(PC->; Time & lt0)/* Check the number of stay days */

{printf ("Error: Illegal input time: %f! \n ",PC-& gt; Time);

Printf ("Please check again and enter: \ n");

scanf("%f ",& ampPC-& gt; Time);

}

while(PC->; Cost & lt0)/* View expenses payable */

{printf ("Error: Illegal cost input: %f! \n ",PC-& gt; Cost);

Printf ("Please check again and enter: \ n");

scanf("%f ",& ampPC-& gt; Cost);

}

while(PC->; Expense & lt0)/* Check the actually paid expense */

{printf ("Error: Illegal cost input: %f! \n ",PC-& gt; Fee);

Printf ("Please check again and enter: \ n");

scanf("%f ",& ampPC-& gt; Fee);

}

If (PC->; Fee & gtPC-& gt;; Cost )/* Check the connection between data, and the actual payment should be less than the payable payment */

{printf ("This may be a mistake: fee =% f> cost =%f\n", PC-& gt;; Cost, PC-& gt;; Cost);

Printf ("Do you like to modify them? (1: Yes; 0: No) \ n ");

Scanf("%d ",& flag);

While (sign)

{printf ("Please enter a value: cost and expense \ n");

scanf("%f%f ",& ampPC-& gt; Cost & ampPC-& gt;; Fee);

If (PC->; Fee & gtPC-& gt;; Cost)

{printf ("Error again! ! \ n "); flag = 1; }

Else flag = 0;

}

}

Printf ("Congratulations: client check passed %d! \n”,pass++);

Returns1;

}

Int CheckAll (structure space * head space)

{ struct client * pc

Structural room * pr

if(NULL = = head _ room){ printf(" head _ room = 0 \ n "); Returns 0; }

Printf ("Starting Parts Maintenance: About Rooms and Customers \ n");

pr = head _ room

While (public relations)

Examination room;

PC = pr-& gt; Head;

White (personal computer)

{ check client(PC);

PC = PC-& gt; Next;

}

pr = pr-& gt; Next;

}

Returns1;

}

/* * This function is used for internal data maintenance and does not provide input data service. Entity integrity, referential integrity, user-defined integrity.

If an error occurs, the error will be output to the doc document.

The error range is tentatively set as follows:

1. The room number of the customer in the same room is different (room search! )

2. The actual paid expenses are greater than the payable expenses. (roommate search! )

3. The same customer stayed in the hotel twice on the same day (full table search! ID number and check-in date are the same)

4. Same ID number, different names and genders (full table search! )

In addition, the tasks that should be completed are:

5. Calculate the fees payable by customers-> Cost operation requires: time, unit_price.

6. Calculate the total number of guest rooms (including the current number)-> For the totalclient operation, you need to use: no.

7. Modify the current number of families-> To operate currentclient, you need: time.

8. Calculate the total income of guest rooms-> To operate income, you need to use: handling fee.

9. Clear the actual payment of the current family-> For operating expenses, you need: time.

The sequence of these operations is 7-> 6->; 5->; 9->; 8->; 2->; 1->; 3->; 4*/

Internal consistency (structure space * head space)

{Structural room *pr, * tpr

Structure client *pc, * tpc

char file[ 12]= " error . doc ";

int I = 0; /*i stands for error count */

Static int count = 0;;

FILE * fp

if(NULL = = head _ room){ printf(" head _ room = 0 \ n "); Returns 0; }

Printf ("From Start to Part Maintenance: Consistency! \ n ");

pr = head _ room

While (public relations)

{ pr-& gt; current client = 0;

/* pr->; total client = 0; */

pr-& gt; Income = 0;

PC = pr-& gt; Head;

White (personal computer)

{If (! PC-& gt; Time) pr-& gt;; current client++; /* Completed .............................................. */

/* pr->; total client++; *//* Done ........................................................................................................................................................................

PC-& gt; Cost = (PC-> Time) * (pr-> Unit price); /* Done ................................................................................

If (! PC-& gt; Time) PC-& gt;; Cost = 0; /* Done ............................................................................................................................................................................

pr-& gt; Income = pr-& gt;; Income+personal computer-> Cost; /* Done ... 8...*/

PC = PC-& gt; Next;

}

pr = pr-& gt; Next;

}

if(NULL==( fp=fopen(file," wt "))

{printf ("Cannot open file: %s! \n ",file);

Returns 0;

}

pr = head _ room

While (public relations)

{ PC = pr-& gt; Head;

White (personal computer)

{ if(PC-& gt; Fee & gtPC-& gt;; Cost)

{fprintf(fp, "Error %d: Expense =% f & gtcost=%f\n", ++i, PC-& gt;; Cost, PC-& gt;; Cost);

fprintf(fp," room nu identity _ card name sex date CLT time cost fee \ n ");

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n \ n ",PC-& gt; roomnu,PC-& gt; Id card, PC-& gt;; Name, PC-& gt;; Sex, PC->; Date, PC-& gt;; Collection, PC-& gt;; Time, PC-& gt;; Cost, PC-& gt;; Fee);

/* Done ...............................................................................

}

if(strcmp(pr-& gt; roomnu,PC-& gt; roomnu))

{fprintf(fp, "Error %d: Room number of client: %s! = roomnu of the room:% s ",++i, PC-& gt;; pr-& gt; room nu);

fprintf(fp," room nu cleaner phone nu type max area price client no \ n ");

fprintf(fp," %-6s %- 16s %- 12s %-4s %-3d %-6. 1f %-6. 1f %-2d \ n ",pr-& gt; pr-& gt; Cleaning agent, pr-& gt;; phonenu,pr-& gt; Type, pr-& gt;; Maximum value, pr-& gt;; Area, pr-& gt;; Unit price, pr-& gt;; Current client);

fprintf(fp," room nu identity _ card name sex date CLT time cost fee \ n ");

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n \ n ",PC-& gt; roomnu,PC-& gt; Id card, PC-& gt;; Name, PC-& gt;; Sex, PC->; Date, PC-& gt;; Collection, PC-& gt;; Time, PC-& gt;; Cost, PC-& gt;; Fee);

/* Complete ... 1 ...*/

}

PC = PC-& gt; Next;

}

pr = pr-& gt; Next;

}

/* This needs to be searched in the whole table, and one customer is missed in the whole table at a time */

pr = head _ room

While (public relations)

{ PC = pr-& gt; Head;

White (personal computer)

{

If (PC->; Next)

{ TPC = PC-& gt; Next;

while(tpc)

{ if(0 = = strcmp(PC-& gt; Id card, TPC-& gt;; ID card). & amp0 = = strcmp(PC-& gt; Date, TPC-& gt;; Date))

{fprintf(fp, "Error %d: same customer: %s stayed in our hotel on the same day: %s\n", ++i, PC-& gt;; Id card, PC-& gt;; Date);

fprintf(fp," room nu identity _ card name sex date CLT time cost fee \ n ");

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n ",PC-& gt; roomnu,PC-& gt; Id card, PC-& gt;; Name, PC-& gt;; Sex, PC->; Date, PC-& gt;; Collection, PC-& gt;; Time, PC-& gt;; Cost, PC-& gt;; Fee);

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n \ n ",TPC-& gt; roomnu,TPC-& gt; Id card, TPC-& gt;; Name, TPC-& gt;; Sex, TPC->; Date, TPC-& gt;; Collection, TPC->; Time, TPC->; Cost, TPC->; Fee);

}/* Done ........................................................................

if(0 = = strcmp(PC-& gt; Id card, TPC-& gt;; ID card). & amp(strcmp(PC-& gt; Name, TPC-& gt;; name)| | strcmp(PC-& gt; Sex, TPC->; Sex)))

{fprintf(fp, "Error %d: Same customer: %s has a different name or gender in our hotel. \n ",++i,PC-& gt; Identity _ card);

fprintf(fp," room nu identity _ card name sex date CLT time cost fee \ n ");

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n ",PC-& gt; roomnu,PC-& gt; Id card, PC-& gt;; Name, PC-& gt;; Sex, PC->; Date, PC-& gt;; Collection, PC-& gt;; Time, PC-& gt;; Cost, PC-& gt;; Fee);

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n \ n ",TPC-& gt; roomnu,TPC-& gt; Id card, TPC-& gt;; Name, TPC-& gt;; Sex, TPC->; Date, TPC-& gt;; Collection, TPC->; Time, TPC->; Cost, TPC->; Fee);

}/* Done ...............................................................................

TPC = TPC-& gt; Next;

}/*while(tpc) exits */

/* The comparison of the current room is over, and the next room is entered */

TPR = pr-& gt; Next;

White (tpr)

{ TPC = TPR-& gt; Head;

while(tpc)

{ if(0 = = strcmp(PC-& gt; Id card, TPC-& gt;; ID card). & amp0 = = strcmp(PC-& gt; Date, TPC-& gt;; Date))

{fprintf(fp, "Error %d: same customer: %s stayed in our hotel on the same day: %s\n", ++i, PC-& gt;; Id card, PC-& gt;; Date);

fprintf(fp," room nu identity _ card name sex date CLT time cost fee \ n ");

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n ",PC-& gt; roomnu,PC-& gt; Id card, PC-& gt;; Name, PC-& gt;; Sex, PC->; Date, PC-& gt;; Collection, PC-& gt;; Time, PC-& gt;; Cost, PC-& gt;; Fee);

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n \ n ",TPC-& gt; roomnu,TPC-& gt; Id card, TPC-& gt;; Name, TPC-& gt;; Sex, TPC->; Date, TPC-& gt;; Collection, TPC->; Time, TPC->; Cost, TPC->; Fee);

}/* Done ........................................................................

if(0 = = strcmp(PC-& gt; Id card, TPC-& gt;; ID card). & amp(strcmp(PC-& gt; Name, TPC-& gt;; name)| | strcmp(PC-& gt; Sex, TPC->; Sex)))

{fprintf(fp, "Error %d: Same customer: %s has a different name or gender in our hotel. \n ",++i,PC-& gt; Identity _ card);

fprintf(fp," room nu identity _ card name sex date CLT time cost fee \ n ");

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n ",PC-& gt; roomnu,PC-& gt; Id card, PC-& gt;; Name, PC-& gt;; Sex, PC->; Date, PC-& gt;; Collection, PC-& gt;; Time, PC-& gt;; Cost, PC-& gt;; Fee);

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n \ n ",TPC-& gt; roomnu,TPC-& gt; Id card, TPC-& gt;; Name, TPC-& gt;; Sex, TPC->; Date, TPC-& gt;; Collection, TPC->; Time, TPC->; Cost, TPC->; Fee);

}/* Done ...............................................................................

TPC = TPC-& gt; Next;

}/*while(tpc) exits */

TPR = TPR-& gt; Next;

}/*while(tpr) exits */

}

Else/* Search when the next node of the current customer is empty */

{ TPR = pr-& gt; Next;

White (tpr)

{ TPC = TPR-& gt; Head;

while(tpc)

{ if(0 = = strcmp(PC-& gt; Id card, TPC-& gt;; ID card). & amp0 = = strcmp(PC-& gt; Date, TPC-& gt;; Date))

{fprintf(fp, "Error %d: same customer: %s stayed in our hotel on the same day: %s\n", ++i, PC-& gt;; Id card, PC-& gt;; Date);

fprintf(fp," room nu identity _ card name sex date CLT time cost fee \ n ");

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n ",PC-& gt; roomnu,PC-& gt; Id card, PC-& gt;; Name, PC-& gt;; Sex, PC->; Date, PC-& gt;; Collection, PC-& gt;; Time, PC-& gt;; Cost, PC-& gt;; Fee);

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n \ n ",TPC-& gt; roomnu,TPC-& gt; Id card, TPC-& gt;; Name, TPC-& gt;; Sex, TPC->; Date, TPC-& gt;; Collection, TPC->; Time, TPC->; Cost, TPC->; Fee);

}/* Done ........................................................................

if(0 = = strcmp(PC-& gt; Id card, TPC-& gt;; ID card). & amp(strcmp(PC-& gt; Name, TPC-& gt;; name)| | strcmp(PC-& gt; Sex, TPC->; Sex)))

{fprintf(fp, "Error %d: Same customer: %s has a different name or gender in our hotel. \n ",++i,PC-& gt; Identity _ card);

fprintf(fp," room nu identity _ card name sex date CLT time cost fee \ n ");

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n ",PC-& gt; roomnu,PC-& gt; Id card, PC-& gt;; Name, PC-& gt;; Sex, PC->; Date, PC-& gt;; Collection, PC-& gt;; Time, PC-& gt;; Cost, PC-& gt;; Fee);

fprintf(fp," %-6s %- 18s %- 15s %-3s %-8s %-3s %-4. 1f %-5. 1f %-5. 1f \ n \ n ",TPC-& gt; roomnu,TPC-& gt; Id card, TPC-& gt;; Name, TPC-& gt;; Sex, TPC->; Date, TPC-& gt;; Collection, TPC->; Time, TPC->; Cost, TPC->; Fee);

}/* Done ...............................................................................

TPC = TPC-& gt; Next;

}/*while(tpc) exits */

TPR = TPR-& gt; Next;

}/*while(tpr) exits */

}

PC = PC-& gt; Next; /* Search the whole table once and miss a customer */

}/* When (pc) exits */

pr = pr-& gt; Next;

}/*while(pr) exits */

Printf ("maintenance number %d\n",++count);

fclose(FP);

Returns1;

}

Inttodate (char * date, intyear, intmonth, intday)/* Converts the year, month and day into a string */

{int i,j;

Charging temperature [9];

for(I = 3; I>- 1; I-)

{j = year%10;

temp[I]= j+' 0 ';

Year = year/10;

}

for(I = 1; I>- 1; I-)

{ j = month % 10;

temp[4+I]= j+' 0 ';

Month = month/10;

}

for(I = 1; I>- 1; I-)

{ j = day % 10;

temp[6+I]= j+' 0 ';

Day = day/10;

}

temp[8]= 0;

Strcpy (date, temperature);

Returns1;

}

Int account (structure room * title room)

{structural room * pr

Fabric client * pc

char temp[20],date[9],name[6];

Floating costs and expenses;

Int time, year, month and day;

int flag = 1;

clr();

if(NULL = = head _ room){ printf(" head _ room = 0 \ n "); getch(); clr(); Returns 0; }

Printf ("Please enter the client ID( 18 bytes)! \ n "); /*mode= 1 means to find a specific customer according to the ID number */

scanf("%s ",temp);

while(strlen(temp)! = 18)

{printf ("Error: Client (ID=%s) is not 18 bytes!" ,temp);

Printf ("Please check again and enter the client ID( 18 bytes)! \ n "); /*mode= 1 means to find a specific customer according to the ID number */

scanf("%s ",temp);

}

/* Find customers */

pr = head _ room

flag = 1;

while(flag & amp; & PR)

{ PC = pr-& gt; Head;

while(flag & amp; & amppc)

{If (! strcmp(PC-& gt; Id card, temporary)&! PC-& gt; Time)

{ printf(" room nu identity _ card name sex date CLT time cost fee \ n ");

print client(PC);

flag = 0;

}

if(flag)PC = PC-& gt; Next;

}

pr = pr-& gt; Next;

}

If(NULL==pc) {printf ("Error: Client (ID=%s) does not exist in our hotel! \n ",temp); getch(); clr(); Returns 0; }

/* date of acquisition */

year =GetTime(0, 1);

month=GetTime(0,2);

day =GetTime(0,3);

Today (date, year, month, day);

Time = countdays (PC-> Date, date);

Cost = time * pr-& gt;; Unit price;

Printf ("Client ID=%s that has existed for %d days should pay %6. 1f $! \n ",temperature, time, cost);

Printf ("Please enter how much you got from him and your name! \ n ");

Printf ("money is:");

Scanf("%f ",&fee);

Printf ("Your name (collection) is");

Scanf("%s ",name);

while(strlen(name)>5)

{printf ("Error: Name =%s is longer than 5 bytes!" , name);

Printf ("Please check again and enter! \ n "); /*mode= 1 means to find a specific customer according to the ID number */

Scanf("%s ",name);

}

PC-& gt; Fee = fee;

PC-& gt; Cost = expense;

PC-& gt; Time = time;

strcpy(PC-& gt; Collection, name);

Printf ("Account closed! Thank you! \ n ");

Returns1;

}