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