#include <stdio.h>
int temp(int fahr)
{
return 5*(fahr-32)/9;
}
int main() {
int fahr, celsius;
printf ("Enter fahrenheit value here: ");
scanf("%d", &fahr);
celsius = temp(fahr);
printf ("The Celsius value is: %d ", celsius);
return 0;
}
2
solved Not getting the correct answer