Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/basicuserinterface-java/
- In this program, you will create the following methods:
- displayApplicationInformation, which will provide the program user some basic information about the program.
- displayDivider, which will provide a meaningful output separator between different sections of the program output.
- getInput, which is a generalized function that will prompt the user for a specific type of information, then return the string representation of the user input.
- terminateApplication, which provides a program termination message and then terminates the application.
- Using these methods, you will construct a program that prompts the user for the following:
- his or her name, which will be a string data type;
- his or her age, which will be an integer data type;
- the gas mileage for the user’s car, which will be a double data type; and
- a display of the collected information.
- Download: http://solutionzip.com/downloads/basicuserinterface-java/
Advertisement
Add Comment
Please, Sign In to add comment