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.