• ARعربي
  • ENEnglish
  • ESEspañol
  • FAفارسی
  • FRFrançais
  • IDIndonesia
  • ITItaliano
  • JA日本語
  • KO한국어
  • RUРусский
  • TRTürkçe
  • UKУкраїнська
  • ZH简体中文

Nous souhaitons rendre ce projet open source disponible pour les gens du monde entier.

Aidez-nous à traduire le contenu de ce tutoriel dans votre langue!

    AcheterEPUB/PDF
    Carte du tutoriel
    Partager
    • Tutoriel
    • Navigateur : Document, Évènements, Interfaces
    • Forms, controls
    • Les événements: change, input, cut, copy, paste
    retour au cours
    Ce contenu n'est disponible que dans les langues suivantes :English, Español, فارسی, Italiano, 日本語, 한국어, Русский, Українська, 简体中文. Merci de

    Deposit calculator

    importance: 5

    Create an interface that allows to enter a sum of bank deposit and percentage, then calculates how much it will be after given periods of time.

    Here’s the demo:

    Any input change should be processed immediately.

    The formula is:

    // initial: the initial money sum
    // interest: e.g. 0.05 means 5% per year
    // years: how many years to wait
    let result = Math.round(initial * (1 + interest) ** years);

    Open a sandbox for the task.

    Ouvrez la solution dans une sandbox.

    • © 2007—2025  Ilya Kantor
    • à propos du projet
    • nous contacter