2nd module | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

2nd module

You are making a currency converter app. Create a function called convert, which takes two parameters: the amount to convert, and the rate, and returns the resulting amount. The code to take the parameters as input and call the function is already present in the Playground. Create the function to make the code work. Please help me i am stuck in it😯😯

24th Mar 2021, 1:02 PM
💕Sophia's World💞(소피아)
💕Sophia's World💞(소피아) - avatar
5 Answers
+ 1
Ok I ll try again
24th Mar 2021, 3:27 PM
💕Sophia's World💞(소피아)
💕Sophia's World💞(소피아) - avatar
0
show us what you've tried to code so far, and describe at wich point you're stuck ^^ no code == no help
24th Mar 2021, 1:38 PM
visph
visph - avatar
0
the previous lessons should have teach what you need to (at least try to) solve the task... and the task itself should give some hint to how compute mathematically the expected result ;)
24th Mar 2021, 3:26 PM
visph
visph - avatar
0
also, don't mark your own answer as the best: it doesn't give you anything (except downvotes ^^), and it break the purpose of this feature...
24th Mar 2021, 3:27 PM
visph
visph - avatar
- 1
Means I am not getting the point to what to write in want a explanation how to do it cause I am new in javascript
24th Mar 2021, 3:23 PM
💕Sophia's World💞(소피아)
💕Sophia's World💞(소피아) - avatar