Question: ?Write a C++ program that is going to compute the mean, variance, and standard deviation for 3 month's temperatures. 1. Your task is to use

?Write a C++ program that is going to compute the mean, variance, and standard deviation for 3 month's temperatures.

?Write a C++ program that is going to compute the mean, variance,and standard deviation for 3 month's temperatures. 1. Your task is touse your skills involving file I/O and 2D arrays and write a

1. Your task is to use your skills involving file I/O and 2D arrays and write a program in C++ that is going to compute the mean, variance and standard deviation for all the 3 months. 2. Also you will compute the mean, variance and standard deviation for each of the individual months 3, You will write all the computed results to a file, Your results will also include the number of readings that are not present in the range. Regarding input file: The first three lines of your input file consists of the number of days for March, April and May. The next 15 rows consist of temperature recordings for the 3 months. The input file is given as input-1.txt in canvas Regarding output file: Your output file will look like this Mean(march) Variance(march) Standard Deviation(march) No.of.bad.readings(march) Mean(April) Variance(April) Standard Deviation(April) No.of.bad.readings(April) Mean(may) Variance(may) Standard Deviation(may) No.of.bad.readings(may) Mean(total) Variance(total) Standard Deviation(total) No.of.bad.readings(total)

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