covert F to C code example
Example 1: c to f
let f = c * (9/5) + 32;
let c = (f - 32) * (5/9);
Example 2: c program convert fahrenheit to celsius
#include<stdio.h>
void main()
{
float celsius,fahrenheit;
printf("\nEnter temperature in Fahrenheit:");
scanf("%f",&fahrenheit);
celsius=(fahrenheit - 32)*5/9;
printf("\nCelsius = %.3f",celsius);
}