Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

en:modul:m291:learningunits:lu07:loesungen:09 [2025/05/19 15:35] – angelegt vdemiren:modul:m291:learningunits:lu07:loesungen:09 [2025/05/27 08:24] (aktuell) vdemir
Zeile 48: Zeile 48:
 ==== Assignment G: Implementation of the calculation - 10'  ==== ==== Assignment G: Implementation of the calculation - 10'  ====
   * G01: To execute our addition-operation we finally need a button **ENTER**. This triggers the method **caldResult(operator)**   * G01: To execute our addition-operation we finally need a button **ENTER**. This triggers the method **caldResult(operator)**
-  * G02: If the variable operator == +, then the calculation is an addition. In that case the result is **this.result = diggit1 + diggit2**. Hint: subtraktion, multiplication and division are similiar to programm.+  * G02: If the variable operator is an (plus operator), then the calculation is an addition. In that case the result is **this.result = diggit1 + diggit2**. Hint: subtraktion, multiplication and division are similiar to programm.
   * G03: Display the result of the variable **result** on the screen.   * G03: Display the result of the variable **result** on the screen.
  
  • en/modul/m291/learningunits/lu07/loesungen/09.1747661705.txt.gz
  • Zuletzt geändert: 2025/05/19 15:35
  • von vdemir