Generate a table that indicates the rainfall for the city of Plainview and com- pares the current year's rainfall for the city with the rainfall from the previous year. Display some summary statistics that will indicate both the annual rainfall for each year and the average monthly rainfall for each consist of 12 pairs of numbers. The first number in each pair will be the current year's rainfall for a month, and the second number will be what fell during the same month the previous year. The first data pair will represent January, the second will be February, and so forth. If you assume the data begin year. The input data will 3.2 4 (for January) 2.2 1.6 (for February) the output should resemble the following: Table of monthly rainfall January February March .. This year 3.2 2.2 Last year 4.0 1.6 Total rainfall this year: 35.7 Total rainfall last year: 42.8 Average monthly rainfall for this year: Average monthly rainfall for last year: 3.6 4.0

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

please in c programming language

Generate a table that indicates the rainfall for the city of Plainview and com-
pares the current year's rainfall for the city with the rainfall from the previous
year. Display some summary statistics that will indicate both the annual rainfall
for each year and the average monthly rainfall for each year. The input data will
consist of 12 pairs of numbers. The first number in each pair will be the current
year's rainfall for a month, and the second number will be what fell during the
same month the previous year. The first data pair will represent January, the
second will be February, and so forth. If you assume the data begin
(for January)
(for February)
3.2
4
2.2
1.6
the output should resemble the following:
Table of monthly rainfall
January
February
March
..
This year
3.2
2.2
Last year
4.0
1.6
Total rainfall this year:
35.7
Total rainfall last year:
42.8
Average monthly rainfall for this year:
3.6
Average monthly rainfall for last year:
4.0
Transcribed Image Text:Generate a table that indicates the rainfall for the city of Plainview and com- pares the current year's rainfall for the city with the rainfall from the previous year. Display some summary statistics that will indicate both the annual rainfall for each year and the average monthly rainfall for each year. The input data will consist of 12 pairs of numbers. The first number in each pair will be the current year's rainfall for a month, and the second number will be what fell during the same month the previous year. The first data pair will represent January, the second will be February, and so forth. If you assume the data begin (for January) (for February) 3.2 4 2.2 1.6 the output should resemble the following: Table of monthly rainfall January February March .. This year 3.2 2.2 Last year 4.0 1.6 Total rainfall this year: 35.7 Total rainfall last year: 42.8 Average monthly rainfall for this year: 3.6 Average monthly rainfall for last year: 4.0
Generate a table that indicates the rainfall for the city of Plainview and com-
pares the current year's rainfall for the city with the rainfall from the previous
year. Display some summary statistics that will indicate both the annual rainfall
for each year and the average monthly rainfall for each year. The input data will
consist of 12 pairs of numbers. The first number in each pair will be the current
year's rainfall for a month, and the second number will be what fell during the
same month the previous year. The first data pair will represent January, the
second will be February, and so forth. If you assume the data begin
(for January)
(for February)
3.2
4
2.2
1.6
the output should resemble the following:
Table of monthly rainfall
January
February
March
..
This year
3.2
2.2
Last year
4.0
1.6
Total rainfall this year:
35.7
Total rainfall last year:
42.8
Average monthly rainfall for this year:
3.6
Average monthly rainfall for last year:
4.0
Transcribed Image Text:Generate a table that indicates the rainfall for the city of Plainview and com- pares the current year's rainfall for the city with the rainfall from the previous year. Display some summary statistics that will indicate both the annual rainfall for each year and the average monthly rainfall for each year. The input data will consist of 12 pairs of numbers. The first number in each pair will be the current year's rainfall for a month, and the second number will be what fell during the same month the previous year. The first data pair will represent January, the second will be February, and so forth. If you assume the data begin (for January) (for February) 3.2 4 2.2 1.6 the output should resemble the following: Table of monthly rainfall January February March .. This year 3.2 2.2 Last year 4.0 1.6 Total rainfall this year: 35.7 Total rainfall last year: 42.8 Average monthly rainfall for this year: 3.6 Average monthly rainfall for last year: 4.0
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY