From 5be3298da1e63e3a70397e6feb1c0275e5335007 Mon Sep 17 00:00:00 2001 From: Fingadumbledore <53864355+Fingadumbledore@users.noreply.github.com> Date: Tue, 7 Dec 2021 18:14:45 +0100 Subject: [PATCH] Add files via upload --- mate.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 mate.cpp diff --git a/mate.cpp b/mate.cpp new file mode 100644 index 0000000..70413e4 --- /dev/null +++ b/mate.cpp @@ -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 +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 " <