#include <stdio.h>
float c2f(float);
float c2f(float c){
return((9*c)/5)+32;
}
int main() {
float c=45;
printf("Celcius to fahrenheit for %f is %.2f",c,c2f(c));
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: