Thursday, June 7, 2007

Question 53

In the flowchart shown below, what is the relationship between initialization values a and b, which are to be provided to m and n in , so as to execute the steps in the following order?
maru1.pngmaru2.pngmaru3.pngmaru5.pngmaru2.pngmaru3.pngmaru4.pngmaru2.pngmaru6.png
In this example, a and b are both positive integers.

q53.gif

a) a =2b
b) 2a = b
c) 2a = 3b
d) 3a = 2b

answer

No comments: