I'm stuck here guys any help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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)); }

11th Sep 2022, 1:56 PM
Nashmy Kune Ferrara
2 Answers
+ 2
function convert(a,r){ return a*r; }
11th Sep 2022, 4:31 PM
JaScript
JaScript - avatar
+ 1
What is the code supposed to do?
11th Sep 2022, 2:08 PM
Lisa
Lisa - avatar