Question: Using c++ S. (25 points) Because text files can grow very large, some computer systems supply a handy utility program that displays the head and
Using c++

S. (25 points) Because text files can grow very large, some computer systems supply a handy utility program that displays the head and tail of a file where the head is the first four lines and the tail is the last four lines. Write a program that asks the user to type in a file name and then displays the head of the file, a line of dots (three or four dots will do), and the tail of the file. If the file is eight lines long or less, just display the entire file. Note: you will create your own file to text. You will need to submit your program and your test file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
