Question: Please help with the following problem using Visual Studio. Write a program that reads a file containing two columns of floating-point numbers. Prompt the user

Please help with the following problem using Visual Studio.

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.

Directions: 1. Please create a file that contains 10 sets of a pair of two floating numbers. 2. Then, your program should get the file name entered by a user and subsequently input these 10 sets of record from the file and produces a report showing a table containing 2 columns and an average of each column. Note: Please print the table that the program produced. By the way, each column should have a title.

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!