Question: Write a c + + program that performs file operation to store and retrieve data. The program should: Prompt the user to enter a list
Write a c program that performs file operation to store and retrieve data. The program should:
Prompt the user to enter a list of integers, one per line, and save these integers to a file named data.txt
read integer from the data txt and dispaly them on screen
Example Output:
Enter integers enter to stop:
contents of data.txt:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
