Visit www.myprogramminglab.com to completethis Programming Challenge online and get instant feedback.
Write a program that asks the user for thename of a file. The program should display the contents of the file with eachline preceded with a line number followed by a colon. The line numbering shouldstart at 1.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here