BananaMaster

18 - Building a bank deposit simulator from scratch (Math.round) (JS lessons)

If you forgot something — click to go to the lesson.

📘 Task: Bank Deposit Calculator

Create an application "Deposit Calculator".

The user enters the deposit amount, selects the number of months, and optionally enables a bonus. After clicking the Calculate button, you need to:

📐 Use the formula:

📌 If the +200 bonus checkbox is enabled:

🧪 Examples:

📊 Visualization:

📌 Important:
All calculations must be done in JavaScript.
Do not modify HTML or CSS.