Create a program that reads the users name and year of birth from input(keyboard), then print out
Fantastic news! We've Found the answer you've been seeking!
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 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).
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date: