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