LU07.S09 - Basic caluclator with methods

Assignment

In LU06.S08 we were programming a basic calulator by manipulation the values directly when clicking the buttons. This is convenient, but limits the possibilities of the calculator significantly.

Therefore we need to do it, but this time by using a couple of methods

Assignment A - 3'

Assignment B - Required methods - 16'

Assignment C - Variables - 1'

Assignment D - Button for diggit 1 - 10'

Assignment E - Button the operation - 5'

Assignment F - Button for diggit 2 - 5'

Assignment G: Implementation of the calculation - 10'

Solution

Solution of the assignment as screenshot

Source code as Zip

Vocabulary

English German
diggit Ziffer
initial values Startwerte
to suffice ausreichen
respectively beziehungsweise
to compraise umfassen
several einige, etliche

Volkan Demir