-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.txt
More file actions
65 lines (50 loc) · 892 Bytes
/
Copy pathsample.txt
File metadata and controls
65 lines (50 loc) · 892 Bytes
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
start sample
int a, b, c;
dec d, e;
bool f, g;
int ans;
int num1;
int num2;
{.
int sum(int num1,int num2)
{
ans = 0;
for (2x)
{
ans = num1 + num2;
};
return ans;
}
print("\nStart Sample.\n\n");
a = 1;
d = 2.3;
e = 2.0;
e = d * e;
f = false;
g = true;
a = 1 + 2;
b = a + 1;
c = b + a;
if a == b ,
{
print("a == b\n");
}
else {
print("a =/= b\n");
b = 1 + b * 3 ;
};
print("\nhello");
print("\na = %d , b = %d, c = %d\n", a, b, c);
print("d = %f, e = %f\n", d, e);
print("f = %b, g = %b\n", f, g);
if "milk tea" is not "coffee" ,
{
print("\nmilk tea is not coffee\n\n");
};
for (3x)
{
print("peanut butter oreos\n");
};
print("\nsum(a,b) = %d\n", sum(3,4));
print("\nEnd Sample.");
.}