How to cast a quotient : <p>I'm making a simple calculator that lists everything when someone inputs two integers. Everything seems to be working well except for the quotient I just can't seem to find that casts.</p>

<pre><code>#define _CRT_SECURE_NO_WARNINGS
#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;


#define SUM a + b
#define AVG (SUM) /(float) 2
#define SUBTRACTION a - b
#define MULTIPLICATION a * b 
#define QUOTIENT 
#define MODULUS a % b


void main()
{
    int a, b;
    printf("Enter two integers: ");
    scanf("%d%d", &amp;a, &amp;b);
    printf("\n\nThe Sum is %d\n", SUM);
    printf("The Difference is %d\n", SUBTRACTION);
    printf("The Multiplication is %d\n", MULTIPLICATION);
    printf("The Quotient is %d\n", QUOTIENT);
    printf("The Average is %0.2f\n", AVG);
    printf("The Modulus is %d\n", MODULUS);

    system("PAUSE");
}
</code></pre>
