#include main() { float a, b; printf("\nEnter two numbers:"); scanf("%f %f", &a, &b); if (b == 0) /* If the second number is zero, then do the following: */ printf("\nCannot divide by zero\n"); else /* Otherwise, do the following: */ printf("\n%6.2f divided by %6.2f is %6.2f\n", a, b, a/b); }