Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Written in C# Visual Studio. Write an application that allows the user to input monthly rainfall amounts for one year storing the values in an
Written in C# Visual Studio.
Write an application that allows the user to input monthly rainfall amounts for one year storing the values in an array. 0 Rainfall can be 1.5 inches. Use the tryParse() and a loop to make sure the user enters a valid number. Create a second array that holds the names of the month. Produce a report showing the month name along with the rainfall amount. o Calculate and display the average rainfall for the year. Note: Use a method to get the rainfall amounts for each month and another method to display the results. Include information about the app before the user enters and data use a method to store this information. Sample output below - 0 Egne Spring 19 Doyle solution Solutions C7 Solution CH07_01 This application allows you to enter monthly rainfall mounts for one year. A table is produced that shows the month name along with the rainfall mount and its variance fror the res, Press any key to begin.. - 0 Ene Spring19 Doyle solution Solution File C07 Solution Chap 0 Please enter the rainfall amount for January: 1 Please enter the rainfall mount for February: 2.5 Please enter the rainfall arount for March: 3.75 Please enter the rainfall amount for April: 5.77 please enter the rainfall amount for May: 5 Please enter the rainfall out for June 6.12 Please enter the rainfall amount for July: 2 Please enter the rainfall amount for August: 4.9 Please enter the rainfall amount for September 5.11 Please enter the rainfall mount for October: 3.56 Please enter the rainfall acount for November: 2.44 please enter the rainfall amount for Deceber: 1 - Eve Spring 19 Doyle solutions Solution Files\Cho Sol. Rainfall App Average rainfall 3.6 Rainfall Amt. Month January February March April May June 2.5 3.75 5.77 6.12 Write an application that allows the user to input monthly rainfall amounts for one year storing the values in an array. 0 Rainfall can be 1.5 inches. Use the tryParse() and a loop to make sure the user enters a valid number. Create a second array that holds the names of the month. Produce a report showing the month name along with the rainfall amount. o Calculate and display the average rainfall for the year. Note: Use a method to get the rainfall amounts for each month and another method to display the results. Include information about the app before the user enters and data use a method to store this information. Sample output below - 0 Egne Spring 19 Doyle solution Solutions C7 Solution CH07_01 This application allows you to enter monthly rainfall mounts for one year. A table is produced that shows the month name along with the rainfall mount and its variance fror the res, Press any key to begin.. - 0 Ene Spring19 Doyle solution Solution File C07 Solution Chap 0 Please enter the rainfall amount for January: 1 Please enter the rainfall mount for February: 2.5 Please enter the rainfall arount for March: 3.75 Please enter the rainfall amount for April: 5.77 please enter the rainfall amount for May: 5 Please enter the rainfall out for June 6.12 Please enter the rainfall amount for July: 2 Please enter the rainfall amount for August: 4.9 Please enter the rainfall amount for September 5.11 Please enter the rainfall mount for October: 3.56 Please enter the rainfall acount for November: 2.44 please enter the rainfall amount for Deceber: 1 - Eve Spring 19 Doyle solutions Solution Files\Cho Sol. Rainfall App Average rainfall 3.6 Rainfall Amt. Month January February March April May June 2.5 3.75 5.77 6.12Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started