示例#1
0
int main(int argc, const char * argv[])
{
    float freezeInC = 0;
    float freezeInF = fahrenheitFromCelsius(freezeInC);
    printf("Water freezes at %f degrees Fahrenheit \n", freezeInF);
    printf("The last temperature converted was %f \n", lastTemperature);
    return 0;
}
示例#2
0
int main(int argc, const char * argv[])
{

    float freezeInC =0;
    float freezeInF = fahrenheitFromCelsius(freezeInC);
    printf("Water freezes at %f degrees Fahrenheit\n",freezeInF);
    
    return 0;
}
示例#3
0
int main(int argc, const char * argv[]) {

    float freezeInC = 100;
    float freezeInF = fahrenheitFromCelsius(freezeInC);
    printf("Water boils at %f degrees Fahrenheit.\n",freezeInF);
    printf("The last temperature converted was %f.\n",lastTemperature);

    return EXIT_SUCCESS;
}