mirror of
https://github.com/lucaspalomodevelop/Mate-Rechner.git
synced 2026-03-13 06:49:38 +00:00
Version 1.2
This commit is contained in:
parent
d681f72f5a
commit
f376a8b3ac
32
mate.cpp
32
mate.cpp
@ -2,13 +2,12 @@
|
||||
// Eine Mateflasche = 500 Ml
|
||||
// Das Projekt ist nur zum Spaß und Sollte nicht Ernst genommen werden
|
||||
// Der Konsum von zu viel Zucker und Koffein ist nicht Gesund und kann Gesundheitliche Schäden bewirken
|
||||
// Version 1.2
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int mate, Koffeingehalt ;
|
||||
int mate, Koffeingehalt, marke ;
|
||||
|
||||
|
||||
|
||||
cout << " ** ** ** ** \n";
|
||||
cout << " ** ** ** ++ ** \n";
|
||||
cout << " **** **** **** ++ **** \n";
|
||||
@ -22,21 +21,40 @@ cout << "****************************************************************\n";
|
||||
cout <<"\n";
|
||||
cout <<"input: ";
|
||||
cin >> mate;
|
||||
cout << "Marke [1]Mio Mio Mate [2]Club Mate [3]Flora Mate\n";
|
||||
cout << "input: ";
|
||||
cin >> marke;
|
||||
if (mate < 2){
|
||||
cout <<"Für einen erfolgreichen Tag benötigst du mehr als 1 Flasche Mate";
|
||||
}
|
||||
else if (mate > 1){
|
||||
mate = mate +1;
|
||||
Koffeingehalt = mate * 100;
|
||||
switch (marke)
|
||||
{
|
||||
case 1:
|
||||
Koffeingehalt = mate * 100;
|
||||
break;
|
||||
case 2:
|
||||
Koffeingehalt = mate * 100;
|
||||
break;
|
||||
case 3:
|
||||
Koffeingehalt = mate * 90;
|
||||
break;
|
||||
|
||||
default:
|
||||
cout << "Dies ist keine gute Sorte\n";
|
||||
break;
|
||||
}
|
||||
|
||||
cout <<"du brauchst " <<mate <<" Flaschen Mate!!!\n";
|
||||
cout <<"der Koffeingehaltfür deine "<< mate<< " Flaschen liegt bei "<< Koffeingehalt << " mg\n";
|
||||
cout <<"\n";
|
||||
cout <<"Ein Datewat sagte: du brauchst immer eine Mateflasche mehr als du hast\n";
|
||||
cout <<"Ein Enym sagte: du brauchst immer eine Mateflasche mehr als du hast\n";
|
||||
}
|
||||
cout <<"\n";
|
||||
cout <<"--------------------------------[Hinweis]--------------------------------\n";
|
||||
cout <<"Bitte Beachte: Erhöhter Koffeingehalt. Für Kinder und schwangere oder stillende Frauen nicht empfolen (Koffein: 20 mg/100ml)\n";
|
||||
cout <<"Bitte Beachte: Erhöhter Koffeingehalt. Für Kinder und schwangere oder stillende Frauen nicht empfolen\n";
|
||||
cout <<"\n";
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user