Add files via upload

This commit is contained in:
Fingadumbledore 2021-12-07 18:14:45 +01:00 committed by GitHub
parent 67037cedd7
commit 5be3298da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

37
mate.cpp Normal file
View 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";
}