/* Program to show modification of floating data by careless text i-o */ #include #include main() { float d, e; d = sqrt(2.0); printf("Please type this number exactly: %f\n", d); scanf("%f", &e); printf("%f is ", d); if (d != e) { printf("NOT "); } printf("equal to %f\n", e); return 0; }