Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4AndInheritance / main.cpp
diff options
context:
space:
mode:
1 files changed, 10 insertions, 0 deletions
-rw-r--r--Big4AndInheritance/main.cpp10
diff --git a/Big4AndInheritance/main.cpp b/Big4AndInheritance/main.cpp
new file mode 100644
index 0000000..e3e43e2
--- /dev/null
+++ b/Big4AndInheritance/main.cpp
@@ -0,0 +1,10 @@
+#include "AlcoholDrink.h"
+int main()
+{
+ AlcoholDrink DR1("Spirt", 100, 98);
+
+ AlcoholDrink dr2 (DR1);
+ dr2.getMark();
+
+
+} \ No newline at end of file