2023 Programming Project RainFall Statistics For this programming project you will create a program | Assignment Collections
Computer Science 2023 Rainfall Solution
2023 Programming Project RainFall Statistics For this programming project you will create a program | Assignment Collections
Programming Project: RainFall Statistics
For this programming project, you will create a program to accept rainfall data, and compute the annual statistics.
GOALS: Arrays, Procedures, Functions, Menus, Multiple Forms
Input to the program:
- 12 monthly rainfall amounts
- The year
- The location ( City, ST) for the rainfall stats
Processing:
- Enter the Rainfall from the keyboard and store in an array
- Calculate the Total, Average, High, and Low values for the year
- Clear the form and the arrays
- Exit the program
- Modularize your code appropriately
Output:
- Displayed on one form:
- List box with month names (filled from an array of the month names)
- Listbox for the rainfall data per month (filled during the run of the program)
- Displayed on a separate form
- Labels to display Total, Average, High, and Low values for the year
- Labels to display the Year and Location for the currently displayed statistics
Considerations in and Expectations for your Procedures
Enter Rainfall Data– allows user to enter the monthly rainfall amounts in input boxes; prompt user accordingly; consider default values in the input boxes to limit errors; store the values in an array; display the values in a list box parallel to the month names
Calculate Stats – Checks whether data is correct, by calling a VerifyData function, then proceeds with calculation of stats (using appropriate functions). If data is not confirmed to be correct, clears the rainfall data list box and displays a message asking for re-entry of data. Annual Stats Records (Total, Average, High, Low, Year, Location) should be stored in an parallel arrays. Allow for a maximum of 100 years’ worth of rainfall statistics to be stored.
VerifyData Function – Should loop through the array of 12 monthly rainfall amounts, and return a Boolean indicator of the validity of the array. A link to the array should be passed as a parameter to the function.
Clear button/menu – should clear the rainfall data list box, and the stats boxes.
Exit button/menu – exits the program
Be sure to document your program and follow good naming conventions.
Be sure to use good user interface design practices: enter and cancel keys defined; Shortcut/Access keys; Tool Tips; Tab Order; Menus, etc.
Be sure to use good programming practices: error trapping and data validation; Option Strict On; etc.
**********************FOR EXTRA PROGRAMMING FUN ****************************
- Include graphs for the monthly rainfall (consider a procedure called by the CalculateStats menu/button
- Consider options to display summary information about the annual summaries
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.