POV-Ray : Newsgroups : povray.off-topic : 2×3×5 : Re: 2×3×5 Server Time
4 Sep 2024 13:19:38 EDT (-0400)
  Re: 2×3×5  
From: scott
Date: 30 Mar 2010 06:15:05
Message: <4bb1cf29$1@news.povray.org>
> I give up. Clearly I'm too stupid to figure this out.

You just forgot a "-1" in your calculation of age, when the person hasn't 
had their birthday yet this year:

currentAge = 2010 - birthYear - 1

With that correction it should be pretty trivial to solve for the age using 
whatever method you originally used.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.