Above program is written to convert the temprature in Faharenhiet to Celsius. When I run the program the conversion is not correct. What's wrong with the program? And If I want to show also Faharenhiet value at the end what do I have to write?Code:#include <stdio.h> void main (void) { int cel, fah; printf("Temperature Conversion Program\n\n"); printf ("Enter the temperature in Faharenhiet:"); scanf ("%d", &fah); cel = (fah-32.0)*5.0/9.0; printf ("The Temperature in Celsius is %d\n\n"); }
Thank You