Reading a file

  • 8
We've received a new task from Captain Squirrels: read a file name from the console. And then display the contents of the file in the console (on the screen). Don't forget to free up resources by closing the streams for file input and keyboard input.
You can't complete this task, because you're not signed in.
Comments(2)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
AndriyLevel 22 , Toronto
3 September 2019, 02:16
Validation says : "The program displays too few lines." What is wrong ?
senthamilLevel 18 , Korampallam
27 June 2019, 13:11
what should i give here ?