/* * exp_div2.c - division of integers and floats */ #include int main(void) { int mm,ii; // declare 2 ints mm and ii float flo, fa, fb, fc ; // declare 4 float flo mm=33; // assign mm the value of 33 flo = 33.0; // assing floating boint number 33.0 to flow ii=mm/4; // divide int int by int fa=mm/4.0; // divide int mm by float fb=flo/4; // divide float by int printf(" The value of mm after (mm=33) is %d\n", mm); printf( " The value of ii after ii=(mm/4) is %d\n", ii); printf(" The value of flo after flo=33.0 is %f\n", flo); printf(" The vlaue of fa after fa=(mm/4.0) is %f\n", fa); printf(" The vlaue of fb after fb=(flo/4) is %f\n", fb); printf(" The vlaue of fc after fc=(mm/4) is %f\n", fb); return 0; }