C Language
#include<stdio.h> #include<conio.h> void main() { int a,b,c,d,e,f,g; clrscr(); printf("Enter two numbers"); scanf("%d%d",&a,&b); c=a+b; d=a-b; e=a*b; f=a/b; g=a%b; printf("sum=&d\n",c); printf("Subtraction=%d\n",d); printf("Multiplication=%d\n",e); printf("Division=%d\n",f); printf("Modulus=%d\n",g); getch(); } /*OUTPUT*/ Enter two numbers 10 3 Sum=13 Subtraction=7 Multiplication=30 Division=3 Modulus=1