Integer arithmetic operations Program in C

Integer arithmetic operations Program in C
Integer arithmetic operations Program in C

WAP Integer arithmetic operations in C Language.


/*Integer arithmetic operations in C Language*/
#include<stdio.h>
int main(void)
{
   	int a=17,b=4;
	printf("Sum=%d\n",a+b);
	printf("Difference=%d\n",a-b);
	printf("Product=%d\n",a*b);
	printf("Quotient=%d\n",a/b);
	printf("Remainder=%d\n",a%b);	
	return 0;
}

Output:

Sum=21
Difference=13
Product=68
Quotient=4
Remainder=1
c language tutorial