• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

puzzle

 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone solve this
use the no
1 5 6 7

and use the operators

+ - * /

in between them to get teh result
21
the no. cannot be used more than once
the operators can be repeated
any intellects there
the no. are correct .. use ur gray cells
yes the no.. are
1 5 6 7
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im gonna need a second cup of coffee to attempt this brb
i can get 22 or 23...still trying to get 21
i have to give up....the smoke pouring out of my ears is setting off the smoke detector
[ April 20, 2002: Message edited by: Randall Twede ]
[ April 20, 2002: Message edited by: Randall Twede ]
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we get to control the order of operations using parentheses?
 
sona gold
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well randanll u have to use ur brains a bit harder.. its a simple mathematical equation..
well if u guys give up i can give u the answer
 
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sona:
6 / ( 1 - 5 / 7 ) = 21 !
 
sona gold
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
great don ... thats the right answer
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a fairly similar one with
1 4 5 6 --> get 24
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

4 / (1 - 5 / 6)

[ April 27, 2002: Message edited by: Mapraputa Is ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2 + 2 = 5
*Consult your nearest copy of 1984 for the answer.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I've got it. I had the parameter list all wrong! I'm missing an argument of type NoamChomskyQuote. Let's see here...
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
5*6-1-7=24
This is well kown as "Computing 24", is a very popular game for kids in china (at least when i was in element school).

Bye the way, does anyone have any idea about book for J2ee and SCJD?
jrwang@psu.edu
SCJP/MCSE/CP+Internet
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by shai koren:
a fairly similar one with
1 4 5 6 --> get 24


6/((5/4)-1) = 24
 
What? What, what, what? What what tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic