diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Bachelor/Softwaretechnik1/swtBank/girokonto.cpp | |
| download | Studium-master.tar.gz Studium-master.tar.bz2 | |
Diffstat (limited to 'Bachelor/Softwaretechnik1/swtBank/girokonto.cpp')
| -rw-r--r-- | Bachelor/Softwaretechnik1/swtBank/girokonto.cpp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Bachelor/Softwaretechnik1/swtBank/girokonto.cpp b/Bachelor/Softwaretechnik1/swtBank/girokonto.cpp new file mode 100644 index 0000000..2c77bc8 --- /dev/null +++ b/Bachelor/Softwaretechnik1/swtBank/girokonto.cpp @@ -0,0 +1,53 @@ +/**********************************************************************************/
+/* Definitionsmodul */
+/**********************************************************************************/
+/*
+ * generiert mit Innovator Version 8.1.04
+ *
+ * erstellt am: 01.05.2005 14:31:27
+ * Repository : swtd29
+ * Modell : swtd29
+ * Benutzer : ADMIN
+ * File : /tmp/src/girokonto.cpp
+ *
+ */
+
+
+// ino.module.girokonto.513.includes
+#include "girokonto.hpp"
+// ino.end
+
+
+// ino.method.Girokonto.505.definition
+Girokonto::Girokonto()
+// ino.end
+// ino.method.Girokonto.505.body
+{
+ ueberziehungsKredit=1000;
+}
+// ino.end
+
+// ino.method.~Girokonto.502.definition
+Girokonto::~Girokonto()
+// ino.end
+// ino.method.~Girokonto.502.body
+{
+}
+// ino.end
+
+// ino.method.pruefeUeberziehungsKredit.478.definition
+bool Girokonto::pruefeUeberziehungsKredit(float betrag)
+// ino.end
+// ino.method.pruefeUeberziehungsKredit.478.body
+{
+ if ((getKontostand()>betrag) || ((getKontostand()+ueberziehungsKredit)>betrag))
+ {
+ //geldAbheben(betrag);
+ return true;
+ }
+ else
+ return false;
+}
+// ino.end
+
+
|
