Question
Use Raptor for the following problem: a) Allow the user to enter the number of months for which we want to record rainfall. The number
Use Raptor for the following problem: a) Allow the user to enter the number of months for which we want to record rainfall. The number of months would be an input supplied by the user. For example, if we want to record rainfall for 5 months, the user will enter 5 for this input. Make sure to validate this entry so that the number is between 1 and 12. Calculate and display the grand total of the rainfall amounts for the given months. Calculate and display the average rainfall for the given months. Find and display the month with the highest rainfall. Display the amount of rainfall for each month. Make sure to add a descriptive heading before displaying the data. Display the amount of rainfall for all months where rainfall exceeded the average rainfall.
Step 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