Opening the reading…
Opening the reading…
PROGRAMMING FUNDAMENTALS › JAVA FUNDAMENTALS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Read 19 with nextInt(), consume the leftover line separator, and read the complete name "Mira Sen" with nextLine(). Print the two expected labeled lines.
OUTPUT
SampleAge: 19 Name: Mira Sen
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.