-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTeamK1P3.cpp
64 lines (61 loc) · 1.46 KB
/
TeamK1P3.cpp
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
#include <iostream>
#include "Object.h"
using namespace std;
int main()
{
if ((Object(5) > Object(6) ))
{
cout << Object("five_is_greater_than_six");
}
else
{
cout << Object("five_is_not_greater_than_six");
}
cout << endl;
if ((Object(5) < Object(6) ))
{
cout << Object("five_is_less_than_six");
}
else
{
cout << Object("five_is_not_less_than_size");
}
cout << endl;
if ((Object(5) <= Object(5) ))
{
cout << Object("five_is_less_than_or_equal_to_five");
}
else
{
cout << Object("five_is_not_less_than_or_equal_to_size");
}
cout << endl;
if ((Object(5) >= Object(5) ))
{
cout << Object("five_is_greater_than_or_equal_to_five");
}
else
{
cout << Object("five_is_not_greater_than_or_equal_to_five");
}
cout << endl;
cout << (Object(1) + Object(5) );
cout << endl;
cout << (Object(-1) + Object(-5) );
cout << endl;
cout << (Object(5) - Object(7) );
cout << endl;
cout << (Object(10) - Object(32) );
cout << endl;
cout << (Object(3) * Object(7) );
cout << endl;
cout << (Object(4) * Object(32) );
cout << endl;
cout << (Object(9) / Object(3) );
cout << endl;
cout << (Object(432) / Object(43) );
cout << endl;
cout << ((Object(15) - Object(2) ) / (Object(12) + Object(4) ));
cout << endl;
return 0;
}