inital commit, adding all school projects

This commit is contained in:
2026-04-09 06:47:58 +02:00
commit 4175258de7
185 changed files with 6947 additions and 0 deletions

38
BlackFriday/main.cpp Normal file
View File

@@ -0,0 +1,38 @@
#include <iostream>
#include <iomanip>
#include <windows.h>
using namespace std;
int main() {
SetConsoleOutputCP(CP_UTF8);
cout << fixed << setprecision(2);
cout << "\t \t";
cout << "R A B A T T R E C H N E R" << endl;
cout << "\t \t";
cout << "-------------------------";
cout << endl;
float fBestellwert = 0;
cout << "Bitte geben Sie den Gesamtwert der Bestellung ein: ";
cin >> fBestellwert;
cout << endl;
if (fBestellwert >=1000) {
cout << "Es wurde ein Rabatt von 10% angewendet!" << endl;
cout << "Der zu zahlende Betragt beträgt somit: \t\t";
fBestellwert *= 0.9;
cout << fBestellwert << " EUR.";
} else {
cout << "Der zu zahlende Betrag beträgt " << fBestellwert << "EUR.";
}
cout << endl;
system("pause");
return 0;
}