mirror of
https://github.com/lucaspalomodevelop/Mate-Rechner.git
synced 2026-03-12 22:47:22 +00:00
Add files via upload
This commit is contained in:
parent
67037cedd7
commit
5be3298da1
37
mate.cpp
Normal file
37
mate.cpp
Normal file
@ -0,0 +1,37 @@
|
||||
// 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;
|
||||
int 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";
|
||||
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";
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user