so my teacher has given me a task to create a program that if I Enter a specific number a specific program will come out
Example
Menu
1)Prelim
2)Midterm
3)Finals
4)Exit
Enter a number Here:
If I enter 1 Prelim Program will come out
Prelim
1)Display Program 1
2)Display Display Face
3)Display Proram 3
4)Back (will go back to menu)
Enter Number Here:
If I enter 2 it will display Face
+’’’’’’’’’’’+
[| o o |]
| ^ |
| ‘-’ |
+’’’’’’’’’’’+
after the program has been processed it will go back to Prelim Menu
Prelim
1)Display Program 1
2)Display Display Face
3)Display Proram 3
4)Back (will go back to menu)
Enter Number Here:
i need a java code for this please help… thank you (sorry for my bad english im not that good speaking english )