Task 4 of 8 · 0 solved · 8 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

1.2 Variables — add then double

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

You have 4 coins. You find 3 more, and then the whole amount doubles. Print the final number of coins.

The program prints 14.

Your solution