Question: C++ help 4) Write a C++ program that reads data from a file whose name is input by the user, and that outputs the first
4) Write a C++ program that reads data from a file whose name is input by the user, and that outputs the first following each of the first three commas in the file. For example, if the file contains the text of this problem, then the program would out put and if then Assume that a comma appears within at least every 200 characters in the file. Be sure to use proper formatting and appropriate comments in your code. The input should be collected through appropriate prompts, and the output should be labeled clearly and formatted neatly 10 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
