solve this procedure logic????
the above is the flowchart problem... the actual answer to the problem is given as 11. but can anyone explain how the 11 answer came???
The part that got me confused was the "increase the second box number mentioned by one" What it's saying, in a somewhat ambiguous way, is to add the value stored in box 2 the first time through the loop, then add the value stored in box 3 the second time through the loop and to continue this way until the number labeling the box to be added is greater than the value in the box labelled 8. Hope this gets you a little closer.
Well the answer given is completely right according to me.. according to instruction 3 ..u have to increase the second box number in insrctn 2 ..not the number in the box...i mean box 2 has to be replaced by box 3...and so on...till the box no. is > the number is box no. 8 that is 4.. so after the first round the number in box 1 is 8. then box no. 2 is replaced by box no.3 3<4 so we loop back to instruction no. 2.. add no. in box 1 with no. in box 3 i.e. 8+2=10...and put 10 in box 1 then box no. 3 is replaced by box no. 4 in instruction 3 4 is not greater than the no. in box 8 i.e. 4 .. so we loop back again add no. in box 1 with no. in box 4 i.e. 10 +1 =11 ..and put 11 in box 1 now box 4 is replaced by box 5.. 5>4 hence ...no need to loop back so now the number in box 1 is 11 so 11 is the answer
Join our real-time social learning platform and learn together with your friends!