// Program to divide two numbers with a non-integer answer

#include <stdio.h>
int main(int argc, char **argv)
/* This program doesn't behave as you think it might */
{
    int a= 3;       // Number to divide
    int b= 2;       // Number which we divide by
    double d;       // Result
    d= b*(a/b);
    printf ("d is %f - or is it\n",d);
    return 0;
}

