Skip to content
CampusEduX

About Me

Easyjava
Learn the Concept: First Java Program

Read a name and an age, then print two sentences.

Input: two lines — line 1 is the name, line 2 is the age (a whole number).

Output: two lines:

My name is <name>.
I am <age> years old.

Related Problems

Input (stdin)

Output

Run your code to see output here...