Exponent q. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Exponent q.

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 30 days. Write a program to calculate the amount that will result fromthe doubling to understand which choice results in a larger amount.

8th Jun 2021, 2:22 AM
The LoneWolf
5 Answers
+ 3
The LoneWolf Welcome to SoloLearn! The Q&A is here to help people to learn to code. We learn by doing, not by having it done for us. Please post your code here so we can check it out and make suggestions. You can copy and paste it here, but much better would be if you saved your code in the Code Playground and posted a link to it here. Press ⊕ and choose Insert Code, hit HOT TODAY and select My Code Bits, click the code you want, then Done. Happy coding!
8th Jun 2021, 2:42 AM
David Ashton
David Ashton - avatar
+ 1
Post your code here
8th Jun 2021, 2:42 AM
Atul [Inactive]
+ 1
Read the Hint that is given! The answer is right there. Just replace the 5 days with 30 days and print it!
8th Jun 2021, 2:52 AM
ChaoticDawg
ChaoticDawg - avatar
0
Do you still need help?
2nd Jul 2021, 7:52 PM
Doriiion
Doriiion - avatar
0
Its done thanks all !
25th Oct 2021, 9:40 AM
Thile Dorje Lama
Thile Dorje Lama - avatar