#include <stdio.h>
int
main (void)
{
int a, b, c;
double x, y, z, w;
a = 10; b = 20;
z = a / b;
c = a / b;
printf ("The value of z is %5.3lf ", z);
printf ("and the value of c is %d\n", c);
x = (double)a / b;
printf ("The value of x is %5.3lf\n", x);
y = (double) (a / b);
printf ("The value of y is %5.3lf\n", y);
w = (double)a / (double)b;
printf ("The value of w is %5.3lf\n", w);
return (0);
}