File Input/Output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

File Input/Output

Create a program that reads numbers from a file named data.dat and writes them to a file named result.dat. The input file should contain exactly one number per line

5th Jan 2018, 7:31 AM
Florine Kaino
Florine Kaino - avatar
2 Answers
+ 2
I have written the program but I am having a problem calling data from the data.dat file How am I suppose to create the external files
5th Jan 2018, 7:39 AM
Florine Kaino
Florine Kaino - avatar