aboutsummaryrefslogtreecommitdiff
path: root/week11/Exercise03/WashingMachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'week11/Exercise03/WashingMachine.cpp')
-rw-r--r--week11/Exercise03/WashingMachine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/week11/Exercise03/WashingMachine.cpp b/week11/Exercise03/WashingMachine.cpp
new file mode 100644
index 0000000..18caa5f
--- /dev/null
+++ b/week11/Exercise03/WashingMachine.cpp
@@ -0,0 +1,7 @@
+#include "WashingMachine.h"
+#include <iostream>
+
+void WashingMachine::Print() {
+ Electroics::Print();
+ std::cout << ' ' << maxLaundryWeight;
+}