What is the value stored in the variable answer at the end of executing the following snippet?
Fantastic news! We've Found the answer you've been seeking!
Question:
answer=1
n=0
while(n<3):
answer=answer*3
n=n+1
Related Book For
Corporate Finance A Focused Approach
ISBN: 978-1439078082
4th Edition
Authors: Michael C. Ehrhardt, Eugene F. Brigham
Posted Date: