Developing Software Solutions
Sam Lloyd's Puzzle
Sam
Lloyd was a puzzlist from USA. He was born in 1841 and died in 1911. He
published puzzles in magazines around the turn of the century. You can solve
'How can you score exactly fifty points?' by writing a program.
Exercise 10.1
Write
a program to solve the puzzle
Store
the 10 numbers in an array
The
computer must check
Ø
Does
any single number equal 50?
Ø
Does
the addition of any two numbers equal 50 (there are at least 45 additions)
Ø
Does
the addition of any three number equal 50?(there could be at least 120
additions)
There is only one answer

This is due 7th March