Question: VISUAL BASIC Program Procedures: A Windows application analyzes rainfall totals for the years 2 0 0 4 2 0 2 1 . The user can

VISUAL BASIC
Program Procedures:
A Windows application analyzes rainfall totals for the years 20042021. The user can select a year from the range and view the total rainfall in inches that year. The average rainfall for the range of years and the rainiest year are also displayed.
Algorithms, Processing, and Conditions:
The application first opens the rainfall text information. The file is named rain.txt Download rain.txtand it lists the total rainfall amounts in Seattle during the years 20042021.
The user can select a year in the range of data to view the total rainfall for that year.
When the user taps or clicks the Display Statistics button, the average rainfall for the years within the range and the rainiest year are displayed.
Notes and Restrictions:
Use procedures to compute the average rainfall and the year with the most rainfall.
Obtain an image from the internet to use.
From a list box, the user selects a year from the range of 20042021.
The program displays the inches of rainfall for that year.
The user taps or clicks the Display Statistics button to view the average rainfall for the years 20042021 and the rainiest year in the range.
You do not have to change the form title area to white. Use the defaulted color.
Rain.txt file looks like :
Year 2021
24.1
Year 2020
34.9
Year 2019
31.4
Year 2018
29.9
Year 2017
34.2
Year 2016
48.2
Year 2015
36.4
Year 2014
47.0
Year 2013
38.4
Year 2012
30.7
Year 2011
39.0
Year 2010
48.8
Year 2009
35.4
Year 2008
31.1
Year 2007
41.8
Year 2006
31.4
Year 2005
37.6
Year 2004
28.7
Rainfall
Statistics
2000-2017
The total rainfall in Year 2019 is 31.4.
The average rainfall was 36.1 inches.
Year 2010 had the most rain between 2000-2017.
VISUAL BASIC Program Procedures: A Windows

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 Programming Questions!