Arithmetic Operations
Arithmetic Operations
2 #include<stdio.h>
3
4 int main()
5 {
6 int i=9,j=3,k;
7
8 k=i+j;//addition +
9 printf("The addition of %d and %d is %d\n ",i,j,k);
10
11 k=i-j;
12 printf("The subtraction of %d and %d is %d\n ",i,j,k);
13
14 k=i*j;
15 printf("The multiplication of %d and %d is %d\n ",i,j,k);
16
17 k=i/j;
18 printf("The division of %d and %d is %d\n ",i,j,k);
19
20
21
22
23 return 1;
24 }
25
26