an explanation for this project please. I can't get it right...thank you | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

an explanation for this project please. I can't get it right...thank you

Let's use exponentiation to solve a known problem. You are offered a choice of either $1.000.000 or $0.01 (one penny) doubled every day for 30 days (the resulting amount is doubled every day). Task: Write a program to calculate the amount that will result from the doubling to understand which choice results in a larger amount.

29th Apr 2021, 8:37 AM
Victor Yegon
Victor Yegon - avatar
2 Answers
+ 2
Hi! For better help to you, please, show us your code attempt!
29th Apr 2021, 8:44 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Thanks...I got it.
1st May 2021, 10:02 PM
Victor Yegon
Victor Yegon - avatar