Java HackerRank | Java Stdin and Stdout (2) | No Talking

Publicado em: 03 Fevereiro 2026
no canal de: Learn Code
3
0

In this challenge, you must read an integer, a double, and a String from stdin, then print the values according to the instructions in the Output Format section below. To make the problem a little easier, a portion of the code is provided for you in the editor.
Input Format
There are three lines of input:
1. The first line contains an integer.
2. The second line contains a double.
3. The third line contains a String.
Output Format
There are three lines of output:
1. On the first line, print String: followed by the unaltered String read from stdin.
2. On the second line, print Double: followed by the unaltered double read from stdin.
3. On the third line, print Int: followed by the unaltered integer read from stdin.
Note: If you use the nextLine() method immediately following the nextInt() method, recall that nextInt() reads integer tokens; because of this, the last newline character for that line of integer input is still queued in the input buffer and the next nextLine() will be reading the remainder of the integer line (which is empty).

👩‍💻 Editor: IntelliJ IDEA Community Edition
👩‍💻 HackerRank https://www.hackerrank.com/challenges...
👍 Like the video if it helps
💬 Leave a comment if you have questions
♥ Thanks for watching ♥
➤ If there are any copyright issues in the video, please comment below. I will take care of it and remove the video immediately. Thank you!
#java #javaprogramming #javatutorial


Nesta página do site você pode assistir ao vídeo on-line Java HackerRank | Java Stdin and Stdout (2) | No Talking duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Learn Code 03 Fevereiro 2026, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3 vezes e gostou 0 espectadores. Boa visualização!