Mendoza, Louisa, A. BS IT #include<stdio.h> #include #include #define g gotoxy void main() { int grade,day; char choice; clrscr(); g(30,1);cout <<"+==========MENU==========+"; g(30,2);cout <<"| |\n"; g(30,3);cout <<"| [G]-Grades |\n"; g(30,4);cout <<"| [D]-Day of the week |\n"; g(30,5);cout <<"| [X]-Exit |\n"; g(30,6);cout <<"+========================+\n"; g(30,8);cout <<"Enter Your Choice: "; cin >>choice; switch(choice) { case 'G': case 'g': g(30,9);cout<<"Enter Your Grade: "; cin>>grade; g(30,11);if (grade>=75) cout<>day; g(30,11);if (day==1) cout<<"Sunday"; else if (day==2) cout<<"Monday"; else if (day==3) cout<<"Tuesday"; else if (day==4) cout<<"Wednesday"; else if (day==5) cout<<"Thursday"; else if (day==6) cout<<"Friday"; else if (day==7) cout<<"Saturday"; else cout<<"Unavailable!";getch();clrscr();main(); break; case 'X': case 'x':
}
0
g(30,11);cout<<"Bye Bye Bye!"; break; default: g(30,11);cout<<"Error!";getch();clrscr();main(); } getch();