Ok, so I just got a new mac and I am using xcode to do this just to see how it works and this won't work.. it is very very simple, am I just overlooking something? Heres the code.
Code:#include <stdio.h> int main (int argc, const char * argv[]) { float f, c; printf("Please enter a temperature in Farenhiet to be converted to Celsius\n"); printf("Temp: "); scanf(" %f", &f); c = (5/9) * (f -32); printf("The temperature in Celsius is: %f \n", c); return 0; }