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; }

29th Dec 2021, 4:37 AM
sonam saini
2 Respuestas
+ 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);
29th Dec 2021, 4:57 AM
SoloProg
SoloProg - avatar
+ 1
Thanks 😊
31st Dec 2021, 1:34 AM
sonam saini