0
Conversion what is the problem?
#include <stdio.h> #include <math.h> int main() { float c , f ; printf ("write value of temperature in Fahrenheit: \n"); scanf("0.2%f", &f); c= (f-32)/1.8; printf ("write value of temperature in celcius is:" , c); return 0; }
2 Answers
+ 3
// try this line of code. you forget "0.2%f" at the end.
printf ("write value of temperature in celcius is: 0.2%f" , c);
+ 1
Thanks đ