English, asked by ksougandhika, 9 months ago

QUESTION 3
What will be the output of the following pseudocode?
Integer a = 2, b = 6. C. i
C = (a + b) – 3 °C=(2
for(each i from 0 to C - 1)
a = a-i
C = C+a
end for
Print c​

Answers

Answered by bkbmjksgmailcom
0

Answer:

) 6 5 4

Explanation:

this program, one variable declared as i, and value initialized as 3. We are moving with do-while(Do while will execute the statement once and then it will check the condition).

Similar questions