Created
June 2, 2011 11:54
-
-
Save jrgifford/1004300 to your computer and use it in GitHub Desktop.
SecondsAlive Output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[random-ruby]$ ruby ./seconds-alive.rb | |
Please enter the year you were born (numeric values only): | |
1996 | |
Now please enter the month you were born (numeric values only): | |
6 | |
Now finally enter the day you were born (numeric values only): | |
18 | |
You are 471945179.98833895 seconds old! | |
That's 7865752 minutes old! | |
That's 131095 hours old! | |
That's 5462 days old! | |
That's 14 years old! | |
You will be 1 billion seconds old in 528054820 seconds time! | |
This is 6111 days time! | |
This is 16 years time! | |
You have had 14 birthdays ... you deserve a *BUMP* for every one! | |
Are you brave enough for the bumps? (enter Y or N) | |
Y | |
Well done ... Press ENTER to receive your beating ... | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
BUMP! | |
[random-ruby]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment