Computer Science, asked by sugamshrestha0199, 3 months ago

CLS
Y = 2
Z = 1
WHILE Z =< 5
Ac = Ac + Y
PRINT Ac
Y = Y + 2
Z = Z + 1
WEND
END
a. What will be the output of the above program?
b. How many times the looping occurs in above program?

Answers

Answered by kshitijkumar78
1

Answer:

error is output because

ac=ac+y

you can't say 1=1+2

4 times it will repeat

Similar questions