Question: C++ Program 3 Write a program that asks the user for the number of times to input some first names. Open a file for output,
C++
Program 3 Write a program that asks the user for the number of times to input some first names. Open a file for output, called savedNames.txt. Write a loop that reads in the user inputted first names, one at a time, the number of times specified. Each time a name is entered by the user, write the name to the savedNames file. Close the file. Look to see if the file was create, and if the names are in it Use filename: Week17YourNameProg3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
