Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.41K
Should have the Menu: [1] Empty WaterGlass [2] Add Water [3] Remove Water [4] Display WaterGlass [5] Exit ** Note: The program will only end if the Exit Menu is chosen. java program Sample WaterGlass: Current Level: 10 *** --- --- --- --- --- --- --- --- --- --- *** … |
|
Re:
How do you write the code using Scanner class to set up a menu (i.e 1 for something, 2 for something, and so on.) Then have the user to choose. Thanks |