Q. Write the output of the following code
Code:j=12
c=9
while(j):
if(j>5):
c=c+j-2
j=j-1
else:
break
print(j, c)
β
Correct Answer: (B)
5 58
j=12
c=9
while(j):
if(j>5):
c=c+j-2
j=j-1
else:
break
print(j, c)
You must be Logged in to update hint/solution