0% found this document useful (0 votes)
25 views1 page

Sudario Assignment

Uploaded by

sudarionejie80
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views1 page

Sudario Assignment

Uploaded by

sudarionejie80
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1 #include <stdio.

h>
2
3 main()
4 {
5 int a = 21;
6 int b = 10;
7 int c ;
8
9 c = a + b;
10 printf("Line 1 - Value of c is %d\n", c );
11 c = a - b;
12 printf("Line 2 - Value of c is %d\n", c );
13 c = a * b;
14 printf("Line 3 - Value of c is %d\n", c );
15 c = a / b;
16 printf("Line 4 - Value of c is %d\n", c );
17 c = a % b;
18 printf("Line 5 - Value of c is %d\n", c );
19 c = a++;
20 printf("Line 6 - Value of c is %d\n", c );
21 c = a--;
22 printf("Line 7 - Value of c is %d\n", c );
23
24 }

You might also like