From e9caa46ffe6ebf4f848f643128f380c6b51218c4 Mon Sep 17 00:00:00 2001 From: Angeld55 Date: Thu, 19 Sep 2019 19:23:18 +0300 Subject: Add files via upload --- Big4AndInheritance/main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Big4AndInheritance/main.cpp (limited to 'Big4AndInheritance/main.cpp') 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 -- cgit v1.3.1-23-gd82d