mirror of
https://github.com/lucaspalomodevelop/Mate-Rechner.git
synced 2026-03-13 06:49:38 +00:00
42 lines
1.8 KiB
C++
42 lines
1.8 KiB
C++
// created by @fingadumbledore
|
|
// 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
|
|
#include <iostream>
|
|
using namespace std;
|
|
int main(){
|
|
int mate, Koffeingehalt ;
|
|
|
|
|
|
|
|
cout << " ** ** ** ** \n";
|
|
cout << " ** ** ** ++ ** \n";
|
|
cout << " **** **** **** ++ **** \n";
|
|
cout << " **** **** **** ++++++++ **** \n";
|
|
cout << " **** **** **** ++ **** \n";
|
|
cout << " **** **** **** ++ **** \n";
|
|
cout << "Hallo ich bin dein Persönlicher Mate Rechner.\n";
|
|
cout << "****************************************************************\n";
|
|
cout << "* [i] Bitte gib die Anzahl der Mateflaschen an die du brauchst *\n";
|
|
cout << "****************************************************************\n";
|
|
cout <<"\n";
|
|
cout <<"input: ";
|
|
cin >> mate;
|
|
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;
|
|
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 <<"\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 <<"\n";
|
|
|
|
|
|
} |