I\'m trying to write code that asks for the users age and then they enter it, but I want the number to appear next to the question after you enter it.
My code looks
Because you used System.out.println which adds a new-line (\n) after the output. Use System.out.print instead.
System.out.println
\n
System.out.print