// sum sub mul and div example
#include<stdio.h>
#include<conio.h>
int main()
{
int a=10,b=3,c,r;
float d;
printf("The value of A is %d",a);
printf("\nThe value of B is %d",b);
c=a+b;
printf("\nSum is %d\n",c);
c=a-b;
printf("Subtration is %d\n",c);
printf("Multipliction is %d",a*b);
d=a/b;
printf("\nDivision is %.4f",d);
r=a%b;
printf("\nRemaindr is %d",r);
}
Note: Click on copy button to copy the given code and you can paste it in any online compiler to see the result, IF YOU ARE A MOBILE USER THEN DOWNLOAD "CODING C"(Free App) COMPILER FROM GOOGLE PLAY STORE.