C examples for Data Type:float
Converts from Fahrenheit to Celsius.
#include<stdio.h> int main (void) { float c;//from w ww. j a v a2 s . c o m float f = 27.0; c = (f - 32) / 1.8; printf("%f degrees Fahrenheit equals %f Celsius", f, c); return 0; }