Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main()
- {
- patientstruct patientstruct1[maxpatients];
- char entry;
- int count = 0;
- do
- {
- entry = menu();
- switch(entry)
- {
- case '1':
- break;
- case '2':
- break;
- case '3':
- displaypatients();
- break;
- case '4':
- break;
- case '5':
- addpatient(&patientstruct1,&count);
- break;
- case '6':
- break;
- case '7':
- break;
- case '8':
- break;
- default:
- printf("you're fired");
- }
- }
- while (entry != '7');
- for(;;);
- }
Add Comment
Please, Sign In to add comment