Converter | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 3

Converter

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

26th Apr 2022, 5:37 PM
Ermias Molla G/Giorgis
Ermias Molla G/Giorgis - avatar
1 Resposta
+ 2
*You* are making a currency converter app. So please link your code attempt so we can help you further.
26th Apr 2022, 5:54 PM
Lisa
Lisa - avatar