hello, my code works if it is written like i have posted it.
But when i put two brackets at the red line ( c=(f-32)*(5/9); ) my c variable is always 0,000 .
Why is that so ?
Code:intCode:main() { float f,c; printf("give temp at Fahrenheit: \n\n"); scanf("%f",&f); c=(f-32)*5/9; printf("the temperature in celsius is: %f \n\n",c); return 0; }