kindly explain the ans also
Attachments:
Answers
Answered by
2
Answer:
Question 2 Answer is 81
Explanation:
Question 2 Explanation
4>0 true
result =1*3
result=3
b=4-1
b=3
condition check
3>0 true
result=3*3
Now result is 9
b=3-1
now b is 2
again condition check
2>0 true
result=9*3
result is 27
b=2-1
now b is 1
1>0 true
result=27*3
now result is 81
b=1-1
now b is zero
0>0 condition false
loop end
81 is the correct option
Similar questions