Enter a file name from the console.
Find the minimum byte in the file. Display it on the screen.
Close the IO stream.
Minimum byte
- 5
Locked
Comments (5)
- Popular
- New
- Old
You must be signed in to leave a comment
parvinder
4 June 2022, 12:41
This task cannot be run on the CodeGym server.
How to run this ?
0
Roman
7 June 2022, 04:35
You can run it in the IDE (IntelliJ IDEA etc)
0
Switch/Cypher
3 October 2020, 21:56
I dunno, maybe it's just me, but I didn't understand this. To help other people - read() reads files from the last byte first, and it displays chars as their ascii value. What they want you to find is the lowest number ascii value in the file being read.
0
Alek
2 September 2019, 17:19
There is a bug in the one of the verification comments: "You are displaying the last byte, but you need to display the maximum." Probably copy-paste error from the previous task.
0
Roman
3 September 2019, 07:28
Thanks, we'll fix it.
0