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

functions

what should i do for taking the Celsius value as an argument and return the corresponding Fahrenheit value. with this functions 9/5*36+32 output should be 96.8

2nd Dec 2020, 7:49 AM
Qudrat Iskandarov
Qudrat Iskandarov - avatar
2 Answers
+ 2
Which programming language u want to use?. Please post complete detailed questions for letting everyone know waht you want.
2nd Dec 2020, 8:39 AM
Charitra
Charitra - avatar
+ 2
Mention about the programing language name. For python def change(c): f = (c * (9/5)) + 32 return f
2nd Dec 2020, 8:41 AM
Ayush Kumar
Ayush Kumar - avatar