Write a program to calculate the amount that will result from doubling to understand which will result in lager amount | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a program to calculate the amount that will result from doubling to understand which will result in lager amount

You're offered a choice of either$1.000.000 or $0.01 (one penny) double everyday for 30 days (the resulting amount is double everyday)

17th Dec 2020, 3:01 PM
Orearabile ramokoka
Orearabile ramokoka - avatar
2 Answers
+ 6
excuse me? you're attempt?
17th Dec 2020, 3:08 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
Решил вопрос исправлением ошибки синтаксиса. Команда: print ( 0.01*(2**30)) Нельзя ставить символы " или ' Команда воспринимается как текстовый вывод EU: Solved the issue by correcting a syntax error. Command: print (0.01*(2* * 30)) You can not put the characters " or ' The command is perceived as a text output
18th Dec 2020, 2:30 PM
Дмитрий Грачевских
Дмитрий Грачевских - avatar