Write a program that inputs integers from a text file and outputs them to a text file. In the input file, the integers are listed one per line. In the output file, the integers should be listed 8 per line.
The input file is “numbers.txt”. Name the output file using your last name. You do not have to use functions for this program. Output files are discussed in Chapter 3. Use % and a counter to control the number of values per line in the output.
Thanks
The input file is “numbers.txt”. Name the output file using your last name. You do not have to use functions for this program. Output files are discussed in Chapter 3. Use % and a counter to control the number of values per line in the output.
Thanks
Comment