Write a program to help them understand the American temperature readings easier, based on their indian way of understandings
#include <stdio.h>
// converts fahrenheit to celsius
double far_to_cel(int degree) {
return (degree - 32) * 5 / 9;
}
int main() {
printf("32F equals to %f\n", far_to_cel(32));
return 0;
}
Comments
Leave a comment