Question: pls make flowchart of this code this is my full coding. i just need flowchart for coding from 178 to 271 thank you A QSC

pls make flowchart of this code

 pls make flowchart of this code this is my full coding.

i just need flowchart for coding from 178 to 271 thank you

A QSC 2 --- 4. void book_ticket() system("cls"); struct book b; FILE

* fp; FILE *ufp://i am no sure yet I int total_ticket, mobile,

this is my full coding. i just need flowchart for coding from 178 to 271 thank you

total l_amount; char name [20]; char ch; //used in display all movies

char ticket_code [20]; // for searching 1/ disiy all makes by default

for movie code fp fopen("data.txt","r"); if (fp NULL) { printf("file does not

found !"); exit(1); } else C system("cls"); while( ( ch = fgetc

(fp) ) != EOF) printf("%c", ch); printf("%c",ch); } fclose(fp);//slose is a function

belonging to the ANSI O standard library, and included in ti //display

ends printf(" For Book ticket Choose Ticket (Enter Ticket code and First

Letter of Ticket Name) ") printf(" Enter ticket code :"); scanf("%s", ticket

code); //system("clear"); fp = fopen("data.txt","r"); if(fp == NULL) 5 06 07 8

A QSC 2 --- 4. void book_ticket() system("cls"); struct book b; FILE * fp; FILE *ufp://i am no sure yet I int total_ticket, mobile, total l_amount; char name [20]; char ch; //used in display all movies char ticket_code [20]; // for searching 1/ disiy all makes by default for movie code fp fopen("data.txt","r"); if (fp NULL) { printf("file does not found !"); exit(1); } else C system("cls"); while( ( ch = fgetc (fp) ) != EOF) printf("%c", ch); printf("%c",ch); } fclose(fp);//slose is a function belonging to the ANSI O standard library, and included in ti //display ends printf(" For Book ticket Choose Ticket (Enter Ticket code and First Letter of Ticket Name) ") printf(" Enter ticket code :"); scanf("%s", ticket code); //system("clear"); fp = fopen("data.txt","r"); if(fp == NULL) 5 06 07 8 39 10 11 12 13 14 15 16 17 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 printf("file does not found !"); exit(1); else { while (getc (fp) != EOF) fscanf(fp,"%s %s %s %d", b.code, b.name, b.date, &b.cost); if (strcmp (b.code, ticket_code) ==0) printf(" Record Found "); printf (" \t\tTicket Code : %s",b.code); printf(" \t\tTicket Date : %s", b.date); printf(" \t\tPrice of ticket : %d", b.cost); printf(" \t\tTicket Date : %s", b.date); printf(" \t\tPrice of ticket : %d", b.cost); printf(" * Fill Deatails printf(" your name :"); scanf("%s", name); printf(" mobile number :"); scanf("%d", mobile); printf(" Total number of tickets :"); scanf("%d", &total_ticket); total amount = b.cost * total ticket; printf(" ***** Thank you for using our system **** "); printf(" \t\tname : %s", name); printf(" \t\tmobile Number : %d", mobile); printf(" \t\tTicket name : %s", b.name); printf(" \t\tTotal Ticket : %d", total_ticket); printf (" \t\tcost per ticket : %d", b.cost); printf(" \t\tTotal Amount : %d", total amount); } ufp=fopen("oldtransaction.txt", "a"); if(ufp == NULL) printf("FIle not Found"); 1 else { fprintf(ufp,"%s %d %d %d %s %d ", name, mobile, total_ticket, total amount, b.name, b.cost) = printf(" Record insert Sucessfull to the old record file"); printf(" "); ufp=fopen("oldTransaction.txt","a"); if(ufp = NULL) { printf ("Elle not Found"); } else fprintf(fp,"%s %d %d %d %s %d ", name, mobile, total_ticket, total amount, b.name, b.cost) printf (" Record insert Sucessfull to the old record file"); ] printf (" "); fclose (ufp); fclose(fp); I main(Simple ticket in excle: Bk 2007 File Edit View Search Project Build Debat Fortran wwSmith Tools Tools Plugins DoxyBlocks Settings Help DARWIN Debug 3 - : || 3 | 4 | 2 2 3 2. c. f One Game Show or Concert Ticket boo ang syscem Labbra Fancludestaio.h> include struct book char code: 2011 char 2015 chat date [20: int cost: bi 1 2 ] 4 5 6 7 8 9 10 11 12 13 14 15 18 17 17 18 19 20 21 22 23 24 25 20 27 28 29 30 31 32 3.3 34 35 36 int capacity - 60: void insert_details : Montering Event details void viewall): tor vious data void find) or finding data void boak_ticket for booking to void old_record(): Vitoria de forced to crets void main() int ch: system("/system is beaty Supetion of beader sile. This function med son system and post comands and benesse command to clear the do printf(" printf(""); printf("\tic Online Tic.cet booking": printf(" "); CAO Insert Read/Winte default 19 CUsers pc Documents\Comp. Programming simple ticket system man Type here to search Windows (CH-LF WINDOWS-125Z Line 169. Cel 25. Pos 4293 H Fi 99. TE O AOD ENG 856 PM 21/1/2021 main(Simple ticket in excle: Bk 2007 File Edit View Search Project Build Debat Fortran wwSmith Tools Tools Plugins DoxyBlocks Settings Help DAROWAN Debug 3 - : || 3 | 4 | 2 2 3 25. printf(" "); printf(" - printf(" Press Insert Ticket printf("Intress View All Ticket? printf(" Press Book Ticket"); printf(" Press View A11 Transactions printf(" Press Exit print(" Enter your choice :: switch ich max 36 37 38 39 40 41 12 42 44 45 16 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 69 30 71 case 1 insert details break Case 2: ViewAll: break: case 3: Find (1) break; case book ticket break: case 5: old record() ! break case : exit (0) CAS. Insert Read/Winte default 19 CAUsers\Documents Comp. Programming Simple ticket system mainc Type here to search Windows (CRLF) WINDOWS-125Z Line 169. Cal 25. Pos 4293 H 1 li 99. TE O AOD ENG 856 PM 21/1/2021 main(Simple ticket in excle: Bk 2007 File Edit View Search Project Build Debat Fortran wwSmith Tools Tools Plugins DoxyBlocks Settings Help DARWIN Debug 3 - 01:28 || 3 2 8 | 8 P = 2 2 in. : max 176 177 torticot cong 179 void book_ticket 179 2 180 systems": 181 struct book b: 102 PILE Ip 163 164 FILE Yufp://tsure yet 185 186 int total_ticket.ncbile, cotal_amount: 187 char 2011 168 189 290 char chased in display all movies 191 char Lleket_code 201; // chinu 192 193 pix all DOUA by dotoult to movis gods 194 Ip - fopen(anta.txt",""): 195 if Ip -- NULL 196 197 printf "#lo does not found) 198 exit (1) 199 200 1 201 ola 202 203 system(""); 204 whilach = fgete(fp) 1 = FOR 205 printf("%c",ch): 206 207 3 20A felontant belonging to the Atlandard Tibrary and included in the dish t Furposes on and all the time 209 210 splay ends 211 printf(" For Book ticket choose Ticket Enter Ticket code and First Letter of Ticket Maze)"): > C/C++ Insert Read/Winte default CUsersip Documents comp. Programming simple ticket system mainc Type here to search Windows (CRLF) WINDOWS-1252 line 165. Col T. Pos 4258 99. TE O AOD ENG 858 PM 21/1/2021 main(Simple ticket in excle: Bk 2007 File Edit View Search Project Build Debat Fortran wwSmith Tools Tools Plugins DoxyBlocks Settings Help DARWIN Debug scand", ticket_code): fp = fopen("data.xt","1"); data: 10 (1-NULL 1 printf(rite does not forand": cxitill: else while gece (ip) - BO 3 streep ib.code, sicicet code) fscanf(fp,"%d", b.code, b.name, b.ddle,th.cosi.) Tac X 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 228 227 228 229 239 231 232 233 234 235 236 232 230 239 240 241 242 242 244 245 216 printl" Record Found ") printf(" \t\tricket Code : 3.b.code; printf("init\tTicket Dates".b.dato: print" \t\tPrice of ticket : db.cost); printf(" . Fill Deatails : printf(" your name: scanf("%" nasel printf("in mobile nunbor :"); scan:"", mobile print" Total number of tickets :: scanf("d", ktobal_ticket total_amount - b.cost total_ticket. CAS. Insert Read/Winte default C\Users pc Documents Comp. Programming simple ticket system mainc H Type here to search Windows (CH-LF WINDOWS-125Z Line 165. Col 1, Pos 1258 H Fi 99. TE AOD ENG 850 PM 21/1/2021 main(Simple ticket in excle: Bk 2007 File Edit View Search Project Build Debat Fortran wwSmith Tools Tools Plugins DoxyBlocks Settings Help LAWAN 2 Debug 269 else 290 291 292 while ch - [gete (pl) - BOC 293 printf("d",ch); 294 295 296 fclose(p) 297 299 299 300 CAS. Insert Read/Winte default CAUsers pc Documents comp. Programming simple ticket system\mainc Type here to search Windows (CH-LF WINDOWS-125Z Line 165. Col 1, Pos 1258 3 Fi 119 99. TE O 850 PM 21/1/2021 AOD ENG File Edit View Search Project Build Debug Fortran w Smith Tools Tools Plugins DoxyBlocks Settings Help DARWAN Debug

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!