From c105f7db9b10861dd0bdeedb3ed4d1ebe2054b87 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 29 Mar 2022 21:00:23 +0300 Subject: Added todays oop practice --- .../05-Practice-29.03.2022/ex2-Source.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Year 1/Object-oriented Programming/05-Practice-29.03.2022/ex2-Source.cpp (limited to 'Year 1/Object-oriented Programming/05-Practice-29.03.2022/ex2-Source.cpp') 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 + +*/ -- cgit v1.3.1-23-gd82d