Skip to content
CampusEduX

Name Then Age

Mediumjava
Learn the Concept: User Input

Read a name on the first line and an age on the second line, then print them together.

Input: line 1 is a name (may contain spaces); line 2 is an integer age.

Output: one line: <name> (<age>)

Related Problems

Input (stdin)

Output

Run your code to see output here...