Back to demo Public demo question

File Copy with Line Numbering

Write a program that reads from a file input.txt and writes its content to output.txt, adding line numbers at the beginning of each line

Write a program that reads from a file input.txt and writes its content to output.txt, adding line numbers at the beginning of each line