Others
Maths Puzzle
Q1. The following algorithm adds the numbers in box no. 1,2,3,4,5 and puts the sum in box number 8. For this to happen what
should be the minimum value in box number 11.
(n) means box number n.
1 2 3 4 5 6 7 8 9 10 11 12
2
4
3
7
9
0
1
2
4
1
1
Step1: Initialization: Put 0 in (8).
Step2: Put 0 in (11).
Step3. Add: Add number in box (8) and no. in box (1) and put the result in (8).
Step4: Add: no. in box (11) +2 and put the sum in box number 11.
Step 5: Check if no. in box 11>0 & it is divisible by 5
Step6:Change instruction 3: Increase the second box number in step 2 by 1.
Answers 25 10
Read Solution (Total 1)
-
- answer 25,10
- 9 years agoHelpfull: Yes(0) No(0)
Others Other Question