const ricarica = (conto, deposito) => {
deposito = prompt("Quanti soldi vuole depositare sul suo conto? ");
conto += deposito;
return console.log(`Ora il suo conto ha una disponibilità residua di ${conto}€`);
}
If the 'conto' statement is equal to 0 and 'deposito' is equal to 200, the final output is 0200.
I've tried to convert 'deposito' and 'conto' into float values but nothing changed.
Please help me to solve this problem