This is about as simple as it gets in C.
------
#include <stdio.h>
int main()
{
float convfactor=1.8;
float offset=32.0;
float invalue=0.0;
printf("Give me a value in Celsiusn");
scanf ("%f",&invalue);
printf("This is %g in Fahrenheitn",invalue * convfactor + offset);
}
------
#include <stdio.h>
int main()
{
float convfactor=1.8;
float offset=32.0;
float invalue=0.0;
printf("Give me a value in Celsiusn");
scanf ("%f",&invalue);
printf("This is %g in Fahrenheitn",invalue * convfactor + offset);
}