//Arithmetic operations
#include<stdio.h>
int main()
{
int a=20,b=10,add,sub,mul,div,mod;
printf("a=%d,b=%d",a,b);
add=a+b;
printf("\nResult=%d\n",add);
sub=a-b;
printf("Result=%d\n",sub);
mul=a*b;
printf("Result=%d\n",mul);
div=a/b;
printf("Result=%d\n",div);
mod=a%b;
printf("Result=%d",mod);

}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: