+ 1
I'm stuck here guys any help
function main() { var amount = parseFloat(readLine(), 10); var rate = parseFloat(readLine(), 10); console.log(convert(amount, rate)); }
2 Answers
+ 2
function convert(a,r){
return a*r;
}
+ 1
What is the code supposed to do?