Sha256: cd13bc55e41bc389f18e64ee2bb76781a814200a85a361b825d1daaa3414f00f

Contents?: true

Size: 867 Bytes

Versions: 3

Compression:

Stored size: 867 Bytes

Contents

                                 NICOMA
               CREATIVE COMPUTING  MORRISTOWN, NEW JERSEY



BOOMERANG PUZZLE FROM ARITHMETICA OF NICOMACHUS -- A.D. 90!

PLEASE THINK OF A NUMBER BETWEEN 1 AND 100.
YOUR NUMBER DIVIDED BY 3 HAS A REMAINDER OF? 2
YOUR NUMBER DIVIDED BY 5 HAS A REMAINDER OF? 0
YOUR NUMBER DIVIDED BY 7 HAS A REMAINDER OF? 1

LET ME THINK A MOMENT...

YOUR NUMBER WAS 50 , RIGHT? YES

HOW ABOUT THAT!!

LET'S TRY ANOTHER.

PLEASE THINK OF A NUMBER BETWEEN 1 AND 100.
YOUR NUMBER DIVIDED BY 3 HAS A REMAINDER OF? 1
YOUR NUMBER DIVIDED BY 5 HAS A REMAINDER OF? 1
YOUR NUMBER DIVIDED BY 7 HAS A REMAINDER OF? 1

LET ME THINK A MOMENT...

YOUR NUMBER WAS 1 , RIGHT? NO

I FEEL YOUR ARITHMETIC IS IN ERROR.

LET'S TRY ANOTHER.

PLEASE THINK OF A NUMBER BETWEEN 1 AND 100.
YOUR NUMBER DIVIDED BY 3 HAS A REMAINDER OF? 
Error on line 45: No more input

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basic101-0.4.0 test/integration/tests/basic_computer_games/nicoma.output
basic101-0.2.0 test/integration/tests/basic_computer_games/nicoma.output
basic101-0.1.0 test/integration/tests/basic_computer_games/nicoma.output