1 #include <stdio.h> 2 main()3main() 4 { 5 float a,b,c; 6 7 a = 0.11; 8 b = 3.12; 9 c = a+b; 10 11 printf ("Print float, result with 'f' = %f\n", c); 12 printf ("Print float, result with 'e' = %e\n", c); 13 printf ("Print float, result with 'E' = %E\n", c); 14 printf ("Print float, result with 'g' = %g\n", c); 15 printf ("Print float, result with 'G' = %G\n", c); 16 17 pass ("float"); 18 fflush (stdout); 19 } 20 21