void start() { char choice; printf("\n\t\t\t\t***WELCOME TO THE HOSPITAL MANAGEMENT SYSTEM***\t\t\t\t\n"); printf("1.Patient\n"); printf("2.Staff\n"); printf("3.Expense\n"); printf("4.Change the user mode\n"); printf("0.Exit"); printf("\n\nEnter your choice:"); scanf("%c", &choice); switch(choice) { case 1: patient(); break; case 2: staff(); break; case 3: exp(); break; case 4: verification(); break; case 0: exit(1); } }
void main() { /* Create Entities for Patient */ createEntities(); /* Run patient code */ patient(); Exit(0); }