Code Snippets C

#include
void main()
{
float fp1 = 188/.228f;
float fp2 = 1.4645E6f;
double fp3 = 86565432.0;
double fp4 = 13.42318455e-6;
printf("\n%f %+f % 10.4f %6.4f\n", fp1, fp2, fp1, fp2);
printf("\n%e %+E\n", fp1, fp2);
printf("\n%f %g %#+f %8.4f %10.4g\n", fp3,fp3, fp3, fp3, fp4);
}