+ 1

Someone help pls 🥺🥺

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.

15th Feb 2021, 7:42 PM
Loren
1 Resposta
+ 2
Just make a loop what every time *2 and after print result
15th Feb 2021, 8:04 PM
Essisten
Essisten - avatar