Closed jirevwe closed 4 years ago
Request the user’s first name, last name and age.
first name
last name
age
Print out Welcome, <First-Name> <Last-Name> (<Year-of-Birth>) in a new line.
Welcome, <First-Name> <Last-Name> (<Year-of-Birth>)
Things to Consider (Extras)
Age
Number
Year-of-Birth
Current-Year
Request the user’s
first name
,last name
andage
.Print out
Welcome, <First-Name> <Last-Name> (<Year-of-Birth>)
in a new line.Things to Consider (Extras)
Age
input, to be used in an arithmetic operation, you’ll want to make sure it’s aNumber
.Year-of-Birth
is derived asAge
subtracted fromCurrent-Year
.