You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #include "fcpp.hh"
-
- int konto; // die GLOBALE Variable
-
- void einrichten (int betrag)
- {
- konto = betrag;
- }
-
- int kontostand ()
- {
- return konto;
- }
-
- int abheben (int betrag)
- {
- konto = konto-betrag;
- return konto;
- }
-
- int main ()
- {
- einrichten(100);
- print(abheben(25));
- print(abheben(25));
- print(abheben(25));
- }
|