0

You are making a currency converter app. Create a function called convert, which takes two parameters: the amount to convert, a

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. Sample Input: 100 1.1 Sample Output: 110

14th Feb 2021, 9:46 PM
Jonathan Akpa Ajene
Jonathan Akpa Ajene - avatar
2 Réponses
+ 1
Jonathan Akpa Ajene what have you tried?
14th Feb 2021, 10:02 PM
Kirill
Kirill - avatar
0
Hi! The assignment sounds good... But we don't see your attempt...
14th Feb 2021, 11:08 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar