Question: Create a program that reads the users name and year of birth from input(keyboard), then print out their name and age in Lustrum(find out the

Create a program that reads the users name and year of birth from input(keyboard), then print out their name and age in Lustrum(find out the meaning).

Sample run 1:
Enter your name: Hausiku
Enter your year of birth:1999 
Output: Hello Hausiku, you have lived for 4

lustrum(lustra)

 

Sample run 2:
Enter your name: Johanna
Enter your year of birth:2005
Output: Hello Johanna, you have lived for 3
lustrum (lustra) lustrum(lustra).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres the program that reads the users name and year of birth from inputkeyboard then print out thei... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!