Question: Question 2 ( 4 0 points ) : Write a C + + program that performs file operations to store and retrieve data. The program
Question points: Write a program that performs file operations 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 the integers from data.txt and display them on the screen.
Example Output:
Enter integers enter to stop:
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
