Read an input text from the console and print it as a sequence of bytes.
Use System.in as input stream directly. Avoid using Scanner.
Read an input text from the console and print it as a sequence of bytes.
Use System.in as input stream directly. Avoid using Scanner.
Sample Input 1:
abcSample Output 1:
979899Sample Input 2:
another textSample Output 2:
9711011111610410111432116101120116Create a free account to access the full topic