Output of following code: (3)
A=10
B=15
S=0
whileA<=B:
S=A+B
A=A+10
B=B+10
ifA>=40:
A=A+100
print(S)
Answers
Answered by
1
Answer:
S) a+b =10+15
so,
the correct answer is 25
Answered by
0
Output of following code:
A=10
B=15
S=0
while A<=B:
S = A + B
A = A + 10
B = B + 10
if A>=40:
A = A + 100
print(S)
output:65
Similar questions