Write data to the file the program should ask user for an


Question :

1. Write data to the file The program should ask user for an integer and write that integer to a file. Save the program as Part1.cpp.

2. Read the data from the file The program should read the data from the file you wrote in part 1. Save the data in an integer and display it on the screen. Save the program as Part2.cpp.

2. Call by reference function Copy the program from Part2.cpp in a separate file and increment the integer by 10 using call by reference function. The function should take integer as an argument and should have void return type. Do not print the integer in the function, print the function in the main program. Save the program as Part3.cpp

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write data to the file the program should ask user for an
Reference No:- TGS02922418

Expected delivery within 24 Hours