aboutsummaryrefslogtreecommitdiff
path: root/week03/Exercise1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'week03/Exercise1.cpp')
-rw-r--r--week03/Exercise1.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/week03/Exercise1.cpp b/week03/Exercise1.cpp
new file mode 100644
index 0000000..7490b4c
--- /dev/null
+++ b/week03/Exercise1.cpp
@@ -0,0 +1,12 @@
+#include <iostream>
+
+struct Lightbulb {
+ int diameter;
+ int length;
+ char type[100];
+ char series;
+};
+
+int main() {
+ Lightbulb lb = { 5, 10, "Fluorescent", 'A' };
+}