Exponent q. | Sololearn: Learn to code for FREE!

-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.

6/8/2021 2:22:11 AM

The LoneWolf

5 Answers

New Answer

+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!

+1

Post your code here

+1

Read the Hint that is given! The answer is right there. Just replace the 5 days with 30 days and print it!

0

Do you still need help?

0

Its done thanks all !