From: Jeppe Jakobsen Date: 2006-04-02T11:11:06+09:00 Subject: Re: Newbie! Programming Calculations ------=_Part_16151_3766229.1143943865247 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You don't really need to make parentheses when you are only doing multiplication, because it does not matter in which order you do them. Here is a clue: You just found out how many seconds you are old, by multiplying with certai= n numbers. These number will help you find his age through division. Example: 936000000/60 This will give you his age in minutes. 2006/4/2, Indifferent : > > So are these calculations correct: > > how many hours are in a year? =3D puts (7* (60*24)) *52 > how many minutes are in a decade? =3D puts (7* (60*24)) *52 *10 > how many seconds old are you? =3D puts 7* (*24(60*60)) *20 (that wrong) > how many chocolates do you hope to eat in your life? (joke?) :S > > If I am 936 million seconds old, how old am I? (no clue) > > Anyone care to clear it up for me? > > > -- > Posted via http://www.ruby-forum.com/. > > -- "winners never quit, quitters never win" ------=_Part_16151_3766229.1143943865247--