Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 05-Practice-29.03.2022 / ex2-Source.cpp
diff options
context:
space:
mode:
1 files changed, 17 insertions, 0 deletions
-rw-r--r--Year 1/Object-oriented Programming/05-Practice-29.03.2022/ex2-Source.cpp17
diff --git a/Year 1/Object-oriented Programming/05-Practice-29.03.2022/ex2-Source.cpp b/Year 1/Object-oriented Programming/05-Practice-29.03.2022/ex2-Source.cpp
new file mode 100644
index 0000000..906ce83
--- /dev/null
+++ b/Year 1/Object-oriented Programming/05-Practice-29.03.2022/ex2-Source.cpp
@@ -0,0 +1,17 @@
+#include "ex2-Rational.h"
+
+int main() {
+
+}
+/*
+
+5 - 1 = 4
+5 / 1 = 5
+
+5 - 9 = -4
+5 / 9 = 0...
+
+5 - 5 = 0
+5 / 5 = 1
+
+*/