Question: A program needs to read a sequential access file, line by line, and display each line on the computer screen. The file, which was opened
A program needs to read a sequential access file, line by line, and display each line on the computer screen. The file, which was opened successfully, is associated with the inFile object. Write the code to read and then close the file.
Step by Step Solution
3.51 Rating (164 Votes )
There are 3 Steps involved in it
string textLine getlineinF... View full answer
Get step-by-step solutions from verified subject matter experts
