10
งาน
Java Core, ระดับ, บทเรียน
Maximum byte
Enter a file name from the console.
Find the maximum byte in the file. Display it on the screen.
Close the IO stream.
5
งาน
Java Core, ระดับ, บทเรียน
Minimum byte
Enter a file name from the console.
Find the minimum byte in the file. Display it on the screen.
Close the IO stream.
20
งาน
Java Core, ระดับ, บทเรียน
Most frequent bytes
Enter a file name from the console.
Find the byte or bytes with the maximum number of repetitions.
Display them on the screen, separated by spaces.
Close the IO stream.
10
งาน
Java Core, ระดับ, บทเรียน
Rarest bytes
Enter a file name from the console.
Find the byte or bytes with the minimum number of repetitions.
Display them on the screen, separated by spaces.
Close the IO stream.
10
งาน
Java Core, ระดับ, บทเรียน
Sorting bytes
Enter a file name from the console.
Read all the bytes from the file.
Ignoring repetitions, sort them by byte-code in ascending order.
Display the result on the screen.
Close the IO stream.
Example of bytes in the input file:
44 83 44
Example output:
44 83