Four sensors, identified by the letters A, B, C and D, placed in different positions, collect
measures relating to two quantities, and communicate the data to a power plant, which processes them.
More in detail, the values of the first quantity are integers, between 1 and 10; the
values of the second are real numbers.
After completing the data collection, the plant must determine the fashion of the first
size, for each sensor and overall, and the average of the values of the second quantity,
for each sensor and overall
You have to write a program that reads a series of lines, each corresponding to one
data pair detected by one of the sensors. Each row contains, in this order, a letter, which
indicates the sensor, an integer, corresponding to the first quantity, and a real number,
corresponding to the second. The data relating to the various sensors arrive without a pre-established order, e
the number of lines is not fixed a priori. The end of the data is signaled by a line containing the `
letter F.
After completing the reading of the data, and having stored them in an appropriate structure, the
program calculates and prints the fashion of the first size for each sensor and the global one,
the average of the second quantity for each sensor and the global one
I am a computer Science major and have all the skills needed for the job. I am new on the site but I can assure you I will deliver on time if you give me chance. Thanks.