subject

Create a project named JavaReview. Use a package name of edu. seminolestate. review. You can substitute your domain name for edu. seminolestate if you wish. Create a single class named ReviewApplication. When the application starts, prompt the user to enter 5 floating point numbers. These are numbers that can contain a decimal. You do not need to edit these numbers. Your professor will only enter valid decimal numbers when testing your application. You must store these numbers in an array.
Display a menu with five options. These options are add, subtract, multiply, divide, and quit. Below is a sample of the menu.
Enter a to add.
Enter s to subtract.
Enter m to multiply.
Enter d to divide.
Enter q to quit.

Add all the elements in the array when the add option is selected. Display the final sum using System. out.
Subtract each element (elements 2 through 5) in the array from the first element when the subtract option is selected. Display the final result using System. out.
Multiply each element in the array when the multiply option is selected. Display the final product using System. out.
Divide each (elements 2 through 5) in the array into the first element when the divide option is specified. Display the final product using System. out.
End the application when the quit option is selected.
Display an error message if the user enters any character other than a, s, m, d, or q.
Continue to display the menu and process user selections until the user enters the quit option. Display a closing message before ending the application.
Add comments to the top of your source code for your name and the date. Do this for each class file.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
You know the right answer?
Create a project named JavaReview. Use a package name of edu. seminolestate. review. You can substit...
Questions
question
Mathematics, 08.12.2020 21:50
question
Social Studies, 08.12.2020 21:50
question
Mathematics, 08.12.2020 21:50
question
Mathematics, 08.12.2020 21:50
Questions on the website: 13722362