Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
en:modul:m291:learningunits:lu07:aufgaben:02 [2025/05/05 13:55] – vdemir | en:modul:m291:learningunits:lu07:aufgaben:02 [2025/05/15 11:33] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== LU07.A02 - Events - Moose-count (arguments) ====== | + | ====== LU07.A02 - Methods with arguments ====== |
===== Prerequisites | ===== Prerequisites | ||
Zeile 37: | Zeile 37: | ||
* C02: Add the case below zero to your **removeMoose-method** by checking the **count** with a if-statement | * C02: Add the case below zero to your **removeMoose-method** by checking the **count** with a if-statement | ||
* C03: Check the result: It must stop at zero when the button **removeMoose** when the count reaches 0. | * C03: Check the result: It must stop at zero when the button **removeMoose** when the count reaches 0. | ||
+ | * C04: In the case below zero the user must be informed accordingly. | ||
===== Solution ===== | ===== Solution ===== |