summaryrefslogtreecommitdiffstats
path: root/Bachelor/Prog1/Prakt6/prg1p6_1/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Bachelor/Prog1/Prakt6/prg1p6_1/main.cpp')
-rw-r--r--Bachelor/Prog1/Prakt6/prg1p6_1/main.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/Bachelor/Prog1/Prakt6/prg1p6_1/main.cpp b/Bachelor/Prog1/Prakt6/prg1p6_1/main.cpp
new file mode 100644
index 0000000..6c26572
--- /dev/null
+++ b/Bachelor/Prog1/Prakt6/prg1p6_1/main.cpp
@@ -0,0 +1,25 @@
+// Programmieren 1, Praktikum 6, Aufgabe 1
+// Author: Sven Eisenhauer
+// Date: 13.01.2005
+// File: main.cpp
+// Description: Application
+
+#include "frozenm.h"
+#include "microwave.h"
+#include <string>
+
+int main()
+{
+ Microwave micro(22000);
+ FrozenMeal lasagne("Lasagne",200);
+ micro.setPeriod(120.0);
+ micro.morePower();
+ micro.morePower();
+ micro.morePower();
+ micro.heatMeal(lasagne);
+ FrozenMeal something("Something",250);
+ micro.lessPower();
+ micro.setPeriod(180.0);
+ micro.heatMeal(something);
+ return 0;
+}