Question: In C++ Write a program that reads a file containing two columns of floating-point numbers. Prompt the user for the file name. Print the average
In C++


Write a program that reads a file containing two columns of floating-point numbers. Prompt the user for the file name. Print the average of each column. 1. Your program should create a file containing 10 sets of a pair of two floating numbers. - Your program should prompt the user for a file name. Your program should use a random number generator to generate 10 numbers for the first component of the pair. Then, use a random number generator to generate 10 numbers for the second component of the pair. Each number should be greater than or equal to 10 and Less than or equal to 20. (i.e., [10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
