introduction to java :: cpt 1

A day on Mars is just a little bit longer than a day on Earth. One day on Mars lasts 24 hours 37 minutes and 22.663 seconds in Earth time. To make sure they can get the most out of the daylight hours on Mars, when NASA plans a Mars Rover mission, they put all of their employees on “Martian Time”. Martian time uses a 24-hour clock divided into minutes and seconds just like Earth time. But every Martian hour, minute and second has to be just a little bit longer than its Earth counterpart.
It just so happens that at 12:00am on January 1st, 2015 (aka Day1) on Earth it will also be exactly 12:00am of Day1 in Martian time at the place where the next Mars rover will touch down. So NASA has issued its employees Martian digital watches,synchronized so that Day1 at midnight matches Day1 at midnight on Earth.
Prompt the user to enter the number of "Earth" days and output its "Martian" day equivalent. You are NOT ALLOWED to perform any computation with a calculator. All computing/computations are done by the program.

NO CODE rule applies

Name the file using the first four letters of your last name plus MartianTime. If I were the one submitting, the name would be as follows: RomeMartianTime.java
	
Sample Input/Output

Enter number of earth days:
346 
	
Martian days equivalent is:
Day 337

Enter number of earth days:
393 
	
Martian days equivalent is:
Day 383

Enter number of earth days:
674
	
Martian days equivalent is:
Day 657

Due date: Wednesday, November 25 at 12:00 noon

Submit to my email. Only submit the .java file (NOT the .java~ or the .class file)

To view rubric click here