Question: Can you please write me a C++ program in Codeblocks for this problem? thanks. Electrical eng.) a. An electrical manufacturer tests five generators by measuring
Can you please write me a C++ program in Codeblocks for this problem? thanks.

Electrical eng.) a. An electrical manufacturer tests five generators by measuring their output voltages at three different ti generator's test results, and then computes and displays the average voltage for each generator. Assume the following generator test results: 3. ( 1st generator: 122.5 122.7 123.0 2nd generator: 120.2 127.0 125.1 3rd generator: 121.7 124.9 126.0 4th generator: 122.9 123.8 126.7 5th generator: 121.5 124.7 122.6 b. Modify the program written for Exercise 3a to calculate and display the average voltage for all the generators. (Hint: Use a second variable to store the total of all the generator's voltages.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
