Advertisement
Guest User

Untitled

a guest
May 30th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. puts "how many hours are in a year?"
  2. puts 'to find this just do three hundred divided by 24 equals'
  3. puts 365 * 24
  4. puts "how many minutes are in a decade?"
  5. puts "10 * 365 = 3650"
  6. puts "3650 * 24 = 87,600"
  7. puts "87,600 * 60"
  8. puts 87600 * 60
  9. puts "How many seconds old am I?"
  10. puts "365 * 24 = 8760"
  11. puts "8760 * 24 = 210,240"
  12. puts "210,240 * 60 = 12,614,400"
  13. puts "12,614,400 * 60"
  14. puts 12614400 * 60
  15. puts "If i am 1204 million seconds old how old am I?"
  16. puts "there are 31,536,000 seconds in a year so"
  17. puts "1204,000,000 / 31,536,000"
  18. puts 1204000000 / 31536000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement