+ 1
Why currency converter doesn't work ?
This is the correct answer : function main() { var amount = parseFloat(readLine(), 10); var rate = parseFloat(readLine(), 10); function convert(amount , rate){ var p = amount*rate; return p; } console.log(convert(amount, rate)); }
1 ответ
+ 3
But this is not a right place to share your solutions.
https://www.sololearn.com/discuss/1316935/?ref=app