a program to convert temperature in degrees Fahrenheit to degrees Celsius. The equation is: Celsius = 5.0/9.0(Fahrenheit –32.0) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

a program to convert temperature in degrees Fahrenheit to degrees Celsius. The equation is: Celsius = 5.0/9.0(Fahrenheit –32.0)

How to solve it ayone can help me pls

28th Dec 2020, 10:57 PM
Izzat Idham
Izzat Idham - avatar
6 Answers
+ 1
#include <stdio.h> char* string(int a); int main(){ float f=0; scanf("%f",&f); f=((f-32)*5)/9; printf("%f",f); return 0;} /*(32 °F − 32) × 5/9 = 0 °C*/
28th Dec 2020, 11:09 PM
Daniel Briceño
Daniel Briceño - avatar
+ 2
Show me you tried please
28th Dec 2020, 11:05 PM
Daniel Briceño
Daniel Briceño - avatar
+ 1
Izzat Idham You can find many more examples if you just search the Code Playground 👍
29th Dec 2020, 5:40 AM
Ipang
+ 1
Ipang thanks broo
29th Dec 2020, 12:56 PM
Izzat Idham
Izzat Idham - avatar
0
Remember to learn you have to try
28th Dec 2020, 11:10 PM
Daniel Briceño
Daniel Briceño - avatar
0
Daniel Briceño thanks broo
29th Dec 2020, 1:45 AM
Izzat Idham
Izzat Idham - avatar