0
What will be the output of the following pseudocode? Multi Choice Type Question Integer a,b set a= 3, b= 1 for (each c from
What will be the output of the following pseudocode? Multi Choice Type Question Integer a,b set a= 3, b= 1 for (each c from 2 to 5) a= a-c a= a + c end for print a+b
2 Antworten
+ 2
Hint: You dont do anything in the for loop
a = 3
Then in forloop
a = 3-2 = 1
a = 1 + 2= 3
0
4