Question: please i need flowchart for this program its c program --------------------- #include #include #include 1/save and get customer info from file void Save(); void printCustomer();
please i need flowchart for this program its c program
---------------------



![basic tool and save basick tool void Basic_tools(char[]); //load data after insertion](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f954af507ce_17466f954aee5181.jpg)



#include #include #include 1/save and get customer info from file void Save(); void printCustomer(); 1/register customer void customer Register(); //tools menu void toolsMenu(); 1/type of basic tool and save basick tool void Basic_tools(char[]); //load data after insertion void display_cinfo(); void display_Tinfo(); void display_Operation Room Tools(); 1/load and display back from file void load_Tinfo(); void load_cinfo(); void load_operation Room Tools(); 1/save and get from file for basick tools void saveBasicTools(); void getBasicTools(); // save and get from file for operation room tools void getopertionRoom Tools(); void saveopertion Room Tools(); // void Operating_Room_Equipment(char[]); //STRUCT SECTION START struct Customer_info { char Customer_ID[20]; char CName[30]; char CcontactNo[15]; char Customer_Address[40]; } Customer; struct Basic_tools { char tcolor[10]; char tquantity[10]; char tsize[10]; char name[50]; } tools; struct Operating_Room_Equipment { char type[50]; char brand[15]; char model[15]; int quantity; } equipment; //STRUCT SECTION END int main() { int Anychar; bool x = 1; do { system("cls"); printf("\t- printf("\t] printf("\t printf("\t|[1] printf("\t|[2] printf("\t\[3] printf("\t\[4] printf("\t][*] printf("\t| printf("\t- printf(" "); printf("\t\t\t Choose :"); scanf("%d", &AnyChar); Menu Customer Information Tools Menu Save Customer Information Save Tool Information Any to EXIT "); "); | "); | "); | "); "); "); | "); | "); "); switch (Anychar) { case 1: system("cls"); customer Register(); display_cinfo(); break; case 2: system("cls"); toolsMenu(); break; case 3: system("cls"); printCustomer(); break; default: X = false; printf(" Exit From Program "); break; } } while (x); } void customer Register() { printf("Please Enter customer ID "); scanf("%s", &Customer. Customer_ID); printf("Please Enter customer Name "); scanf("%s", &customer.CName); printf("Please Enter Customer Contact Number "); scanf("%s", &Customer.ccontactNo); printf("Please Enter customer Address "); scanf("%s", &Customer.Customer_Address); ) Save(); } void printCustomer() { FILE *reads; reads = fopen("Customer. txt", "r"); if (reads == NULL) { - "); "); -| "); else { system("cls"); printf("\t- printf("\t| Customer Saved Info printf("\t] while (fread(&Customer, sizeof(struct Customer_info), 1, reads)) { load_cinfo(); } printf("\tPress Enter key to continue" ); fflush(stdin); // option ONE to clean stdin getchar(); } } void Save() { FILE *outfile; // open file for writing outfile = fopen("Customer. txt", "a"); if (outfile == NULL) { fprintf(stderr, " Error opened file "); exit(1); } fwrite(&Customer, sizeof(struct Customer_info), 1, outfile); if (fwrite != 0) printf("contents to file written successfully ! "); else printf("error writing file ! "); // close file fclose(outfile); } void display_cinfo() { printf("\tCustomer ID : %s ", Customer.Customer_ID); printf("\tCustomer Name : %s ", Customer.CName); printf("\tCustomer Number : %s ", Customer.ccontactNo); printf("\tCustomer Address : %s ", Customer.Customer_Address); printf(" "); printf("\tPress Enter key to continue"); fflush(stdin); // option ONE to clean stdin getchar(); } void load_cinfo() { printf("\tCustomer ID : %s ", Customer. Customer_ID); printf("\tCustomer Name : %s ", Customer.CName); printf("\tCustomer Number : %s ", Customer. CcontactNo); printf("\tCustomer Address : %s ", Customer.Customer_Address); printf(" "); printf("\t - "); } void toolsMenu() { bool co=1; int c; do { system("cls"); printf("\t- printf("\t Tools Menu printf("\t] printf("\t|[1] Basic Tools printf("\t|[2] Operating Room Equipment printf("\t|[3] Load Basic Tool Information printf("\t\[4] Load Device Information printf("\t][*] Any to EXIT printf("\t| printf("\t- printf(" "); printf("\t\t\t Choose :"); scanf("%d", &c); "); | "); | "); I "); | "); | "); "); "); | "); - "); Gloves Mask other | "); | "); | "); "); | "); switch (c) { case 1: char type[50]; int c; system("cls"); printf("\t|- printf("\t|[1] printf("\t|[2] printf("\t][*] printf("\t| scanf("%d", &c); if (c == 1) { strcpy(type, "Gloves"); } else if (c == 2) { strcpy(type, "Mask"); } else { strcpy(type, "other"); } Basic_tools(type); display_Tinfo(); break; case 2: char Optype[50]; int cc; system("cls"); printf("\t|- printf("\t|[1] printf("\t|[2] printf("\t|[3] printf("\t][*] printf("\t|- scanf("%d", &cc); Surgical Tables Surgical Booms Surgical Lights others | "); "); | "); | "); | "); | "); if (CC == == 1) { strcpy(Optype, "Surgical Tables"); } else if (cc 2) { strcpy(Optype, "Surgical Booms"); } else if(cc ==3) { strcpy(Optype, "Surgical Lights"); } else { strcpy(Optype, "other"); } Operating_Room_Equip