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: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:00
Ahorse is how much percent more powerful than a pony
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
How do i change the size of my bookmarks in my bookmarks bar in google chrome? ? plz hlp me
Answers: 2
You know the right answer?
Create a project named JavaReview. Use a package name of edu. seminolestate. review. You can substit...
Questions
question
Mathematics, 25.07.2019 20:30
question
World Languages, 25.07.2019 20:30
question
Mathematics, 25.07.2019 20:30
question
Mathematics, 25.07.2019 20:30