Tuesday, June 5, 2007

Question 13

In the following flowchart, the number of times that steps S1, S2, S3 and S4 are executed before "Yes" results at step S4 are n1, n2, n3 and n4, respectively. Which expression represents the relationship between n4 and n1, n2 and n3?

swh13sa13a.png

a) n4 = n1 + n2 + n3
b) n4 = n1 + n2 - n3
c) n4 = n1 - n2 + n3
d) n4 = -n1 + n2 + n3

answer

No comments: