permaculture playing cards*
The moose likes Meaningless Drivel and the fly likes A number game Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "A number game" Watch "A number game" New topic

A number game

Jim Baker
Ranch Hand

Joined: Mar 10, 2002
Posts: 177
Put the signs "+", "-", "X", "%", in any order
and as many time as you want, between the numbers
above in the given order to make it equal to 100.
Jason Menard

Joined: Nov 09, 2000
Posts: 6450
Here ya go:

1 + 23 * 4 - 5 + 6 + 7 + 8 - 9
Ashish Hareet
Ranch Hand

Joined: Jul 14, 2001
Posts: 375
If I have a choice to not use all those operators , then it's
1+2+3+4+5+6+7+(8*9) == 100
How about this-
Jim Baker
Ranch Hand

Joined: Mar 10, 2002
Posts: 177
I forgot one rule: you have to use all the
signs at least once.
Jane Somerfield
Ranch Hand

Joined: Jul 20, 2002
Posts: 193
permaculture playing cards
subject: A number game
Similar Threads
retrieving values of multiple <input> tag with same name at server side
WA #1.....word association
how to prove that Hashtable is not ordered
For Virgins Only
Style Guide question