I agree. But if the month is February it also depends on the year. :) So... when you say:
"His age is 12 years, 7 months and 18 days." Which seven months did you use? Thanks, -- Raul On Sat, Sep 20, 2014 at 1:59 PM, Linda Alvord <[email protected]> wrote: > Last I heard it depended on the month. Linda > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Raul Miller > Sent: Saturday, September 20, 2014 1:51 PM > To: Programming forum > Subject: Re: [Jprogramming] Weekend Puzzle - Age of Groundhog born 2002 2 2 > > Question: How many days long is a month? > > Answer: Wrong. > > -- > Raul > > > On Sat, Sep 20, 2014 at 1:42 PM, Linda Alvord <[email protected]> > wrote: >> Not fair! I want you to hand craft yhour own solution with existing verbs >> using symbols not letter names you find here and there. >> >> It must be possible if there are already solutions. Who knows if they are >> in the most recent and beautiful J? Give it a try. (It's probably better >> if you don't look at those "prepared foods". >> >> Linda >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Joe Bogner >> Sent: Saturday, September 20, 2014 12:36 PM >> To: [email protected] >> Subject: Re: [Jprogramming] Weekend Puzzle - Age of Groundhog born 2002 2 > 2 >> >> Hi Linda >> >> The solution is quite simple and uses one built verb from an addon. I >> posted it with the solution masked so others can try it on their own >> without accidentally seeing mine >> >> The actual solution is the result of this: >> >> |. solution2 >> On Sep 20, 2014 11:54 AM, "Linda Alvord" <[email protected]> wrote: >> >>> We are talking children here. >>> >>> Onyadot. emiTetaDot, ffiDst, onyadot, emiTetaDot, emitetad, sepyt and >>> eriuqer are all denied! >>> >>> How about using +, -, *, ?, %: and that sort of thing. >>> >>> I must admit you did get the right answer! >>> >>> You can also get a second chance. >>> >>> Cheers, Linda >>> >>> >>> >>> -----Original Message----- >>> From: [email protected] >>> [mailto:[email protected]] On Behalf Of Joe > Bogner >>> Sent: Saturday, September 20, 2014 9:10 AM >>> To: [email protected] >>> Subject: Re: [Jprogramming] Weekend Puzzle - Age of Groundhog born 2002 2 >> 2 >>> >>> solution... >>> >>> >>> >>> >>> >>> >>> 1 >>> 2 >>> 3 >>> 4 >>> 5 >>> >>> >>> lightly obfuscated for someone who doesn't want the solution >>> >>> >>> solution1=: 0 : 0 >>> >>> )2 2 2002 onyadot emiTetaDot( ffiDst )02 9 4102 onyadot emiTetaDot( >>> >>> 'emitetad/sepyt' eriuqer >>> >>> ) >>> >>> >>> >>> to run: >>> >>> >>> 0!:1 |. solution1 >>> >>> >>> >>> solution2 =: 0 : 0 >>> >>> )2 2 2002( ffiDst )02 9 4102( >>> >>> 'emitetad/sepyt' eriuqer >>> >>> ) >>> >>> >>> 0!:1 |. solution2 >>> >>> >>> >>> note: both take advantage of a addon. solution1 uses todayno just because >>> it was stated in the problem but solution2 is what I'd really use >>> >>> >>> >>> On Sat, Sep 20, 2014 at 4:54 AM, Linda Alvord <[email protected]> >>> wrote: >>> >>> > Using the verb todayno which provides the number of days since the >>> > beginning of 1800, write what you need to find the age today of a >>> > groundhog >>> > born on 2002 2 2. >>> > >>> > >>> > >>> > todayno 2014 9 2014 >>> > >>> > 80418 >>> > >>> > >>> > >>> > 2014 9 20 age 2002 2 2 >>> > >>> > 12 7 18 >>> > >>> > >>> > >>> > His age is 12 years, 7 months and 18 days. Use simple J. Check that >>> your >>> > solution provides a correct answer for you birthday. >>> > >>> > >>> > >>> > Have a pleasant weekend. >>> > >>> > >>> > >>> > Linda >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > ---------------------------------------------------------------------- >>> > For information about J forums see http://www.jsoftware.com/forums.htm >>> > >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
