Professional Documents
Culture Documents
2 26dec2020
2 26dec2020
1
• All statements are entered in small case letters.
2
Example:
3
Receive input
4
5
C Instructions
•Type Declaration
•Arithmetic instruction
•Control instruction
6
Type Declaration
int bas;
float rs, grosssal ;
char name, code ;
7
8
9
10
11
12
13
• Example 1.1: Determine the hierarchy of operations and
evaluate the following expression:
• i=2*3/4+4/4+8-2+5/8
14
15
16
17