-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path105c.rc
47 lines (45 loc) · 776 Bytes
/
105c.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
int x = 10;
int y = 12;
int z = 14;
float a = 20.0;
float b = 30.0;
float c = 20.0;
function : void main()
{
if (5 == 5)
{
cout << "5 is equal to 5" << endl;
}
if (x != 10)
{
cout << "no print" << endl;
}
if (y > 12)
{
cout << "no print" << endl;
}
if (y >= 12)
{
cout << "y is greater than or equal to 12" << endl;
}
if (z > 15)
{
cout << "no print" << endl;
}
if (z >= 14)
{
cout << "z is greater than or equal to 14" << endl;
}
if (y != 12)
{
cout << "no print" << endl;
}
if (a > b)
{
cout << "no print" << endl;
}
if (a >= c)
{
cout << "a is greater than or equal to c" << endl;
}
}