Try This 3-1 Start Building a Java Help System
This project builds a simple help system that displays the syntax for the Java control statements. The program displays a menu containing the control statements and then waits for you to choose one. After one is chosen, the syntax of the statement is displayed. In this first version of the program, help is available for only the if and switch statements. The other control statements are added in subsequent projects.
1. Create a file called Help.java.
2. The program begins by displaying the following menu:
To accomplish this, you will use the statement sequence shown here:
3. Next, the program obtains the user’s selection by calling System.in.read( ) ...