I think this question may be simpler as a starting point What time will it be 234 minutes from 1:00pm. Use only the following operators: +, -, *, % and numbers 0-9
Haven't tried to solve it yet - sent from my phone On Sep 20, 2014 12:21 PM, "Linda Alvord" <[email protected]> wrote: > This would not be a question in grade 1 but I'm thinking ahead to grades 2 > - > 6. They will have enough to think about as they learn English words. > > The use of the word table from names_z_ has the same meaning it would in a > math class so I would use it as an "app". > > I Would consider todayno as a J app. It has no meaning in English to > confuse it with. > > I could get my result with simple J and it would probably not be > appropriate > until grade 6. It does not use other than basic J nouns, verbs and > adverbs. > I don't think there are any conjunctions but I could be wrong. > > However, I have the feeling that some of the mathematicians or programmers > in the community will be able to do it far more elegantly than I have. > > I am making up rules as I go, and if necessary they may need to be changed. > > Linda > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Linda > Alvord > Sent: Saturday, September 20, 2014 11:54 AM > To: [email protected] > Subject: Re: [Jprogramming] Weekend Puzzle - Age of Groundhog born 2002 2 2 > > 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
