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

18th Feb 2022, 6:13 AM
N.RAGAVENDRA
N.RAGAVENDRA - avatar
2 Réponses
+ 2
Hint: You dont do anything in the for loop a = 3 Then in forloop a = 3-2 = 1 a = 1 + 2= 3
18th Feb 2022, 6:17 AM
Raul Ramirez
Raul Ramirez - avatar
0
4
30th Jan 2023, 9:17 PM
Rose