blob: 6c265729ad2a2b9c7c5c1ccc653129930f94fe1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}
|