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, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
Worth 50 points answer them bc i am not sure if i am wrong
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
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, 12.03.2021 22:50
question
Biology, 12.03.2021 22:50
question
Mathematics, 12.03.2021 22:50