Help needed on finding how many days old someone is

cox at zeus.unomaha.edu cox at zeus.unomaha.edu
Sun Apr 14 09:44:50 AEST 1991


Help!

  I'm tring to write a program that needs to know how many days old someone
is.. if the user enters the mo born in and the day born on, and how old
he/she/it is, find how many days old..

Formula to find days old is:
(AGEx365)+(amt of leap yrs in)+1+(days since last b-day)

Your help is greatly appreciated.




More information about the Comp.lang.c mailing list