Question: In java please, without the use of switch statements For this project, you will write a program that analyzes the amount of rain observed over

In java please,

In java please, without the use of switch statements For this project,

without the use of switch statements

For this project, you will write a program that analyzes the amount of rain observed over the course of several days. Your program should prompt the user to specify the number of days for which observation data will be entered (between 1 and 10 inclusive). If the user enters an invalid number of days, the program should display an error message and keep asking the user for a f days until the user enters an appropriate number. The program should then valid number o prompt the user for the observed amount of rain that fell on each of the specified number of days Once rainfall data has been entered, the program should then present the user with a menu of options that will display information about the observation period. The menu will provide the following options to display (1) the total rainfall, (2) the average rainfall, (3) the day and the amount of the greatest rainfall, (4) the day and the amount of the least rainfall, days a flood warning was issued due to six or more inches of rain in a single day more inches of rain over two consecutive days, and (6) quit. The menu should cont displayed until the user selects the quit option. If the user enters an invalid option, the program should display an "Invalid response, please try again!" message and redisplay the menu. (5) the number of or eight or inue to be Note: If two days have the same greatest (or least) rainfall, report the first/earliest day that had that value You should develop your project using Eclipse. Create a new project in Eclipse called RainfallAnalysis lastname> where

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!