Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #25114
| Newsgroups | comp.lang.forth |
|---|---|
| Date | 2013-08-12 00:13 -0700 |
| References | <kp7g25$7mj$1@dont-email.me> |
| Message-ID | <0a558a9f-8ece-42ea-a2ec-a042c9deeb7f@googlegroups.com> (permalink) |
| Subject | Re: Dice problem |
| From | hughaguilar96@yahoo.com |
On Tuesday, June 11, 2013 8:34:31 AM UTC-7, WJ wrote: > The problem: score the roll of 1 to 5 dice. > > Three 1's count 1000; three of any other number count > 100 times the number. > > A solo 1 counts 100; a solo 5, 50. All other singletons > count 0. > ... > Show your Forth solutions. WJ --- Rather than continually posting these contrived problems that you most likely are getting out of programming textbooks, why don't you try to duplicate one of my example programs in the novice package? They didn't come from any textbook, so you aren't going to be able to look in the answers section of the textbook to obtain the solution. They are also a lot more interesting than this stuff -- I mean, who cares about adding up the scores of dice rolls? Am I guessing correctly, that you are a college student? You get all of these programs from your classroom material, don't you?
Back to comp.lang.forth | Previous | Next — Previous in thread | Find similar | Unroll thread
Dice problem "WJ" <w_a_x_man@yahoo.com> - 2013-06-11 15:34 +0000
Re: Dice problem Ron Aaron <rambamist@gmail.com> - 2013-06-11 20:04 +0300
Re: Dice problem november.nihal@gmail.com - 2013-08-11 05:11 -0700
Re: Dice problem Paul Rubin <no.email@nospam.invalid> - 2013-08-11 16:32 -0700
Re: Dice problem Paul Rubin <no.email@nospam.invalid> - 2013-08-11 16:42 -0700
Re: Dice problem Coos Haak <chforth@hccnet.nl> - 2013-08-12 02:25 +0200
Re: Dice problem Paul Rubin <no.email@nospam.invalid> - 2013-08-11 18:02 -0700
Re: Dice problem Paul Rubin <no.email@nospam.invalid> - 2013-08-11 23:58 -0700
Re: Dice problem hughaguilar96@yahoo.com - 2013-08-12 00:13 -0700
csiph-web