Skip to content

Commit 5b9a2cd

Browse files
traduzione task
1 parent 5b5fed0 commit 5b9a2cd

File tree

1 file changed

+8
-8
lines changed
  • 2-ui/4-forms-controls/3-events-change-input/1-deposit-calculator

1 file changed

+8
-8
lines changed

2-ui/4-forms-controls/3-events-change-input/1-deposit-calculator/task.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ importance: 5
22

33
---
44

5-
# Deposit calculator
5+
# Calcolo del deposito
66

7-
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.
7+
Creare una interfaccia che permetta di inserire una somma di un deposito bancario e la percentuale, e che calcoli a quanto ammonteranno dopo un ceto periodo di tempo.
88

9-
Here's the demo:
9+
La demo:
1010

1111
[iframe src="solution" height="350" border="1"]
1212

13-
Any input change should be processed immediately.
13+
Ogni modifica all'input dovrebbe essere processata immediatamente.
1414

15-
The formula is:
15+
La formula è:
1616
```js
17-
// initial: the initial money sum
18-
// interest: e.g. 0.05 means 5% per year
19-
// years: how many years to wait
17+
// initial: la somma iniziale di denaro
18+
// interest: ad esempio 0.05 significa 5% annualer
19+
// years: quanti anni attendere
2020
let result = Math.round(initial * (1 + interest * years));
2121
```

0 commit comments

Comments
 (0)