/* Example of Use of the function printf to format the output */ #include int main(){ float x = 12.12; printf("%f\n", x); printf("%4f\n", x); printf("%10f\n", x); printf("%.2f\n", x); printf("%10.2f\n", x); printf("%010.2f\n", x); return 0; }