Due: Friday, August 29th by 11:59 PM
Write a Java program that will prompt the user for their name and age, and translate their age from years to dog years. (1 year equals 7 dog years.)
Example session (user input in bold):
What is your name? DaveHow old are you, Dave? 36Dave, in dog years you are 252 years old
Download CS201_Lab1.zip. Import it into Eclipse:
File->Import...->General->Existing Projects into Workspace->Select Archive File
You should see a project called CS201_Lab1 in the Package Explorer window.
Run the program by right-clicking on the file DogYears.java in the edu.ycp.cs201.dogyears package, and then choosing
Run As->Java Application
Use a java.util.Scanner object to read from the keyboard.