#include /* f2c convert from Fahrenheit to Celsius*/ /* To test if it works:*/ /* for some reason it prints nan after each output...I forgot this before I turned it in incorrectly, and do not know how to fix it now...*/ float f2c (float fahr); int main() { int i; for (i = 0; i < 10; ++i) printf("%d %f\n", 10 * i, f2c(10 * i)); return 0; } float f2c (float fahr) { float c; c = (5.0/9.0) * (fahr - 32.0); // printf("%.2f = %.2f\n", fahr, c); }