Sie sind auf Seite 1von 1

START

num1 = num2 = result 0; ptr = num1; key = NULL; opt = NULL; optcnt = 0; str = ;

update str

num2 = 0; ptr = &num2;

print str on LCD ptr = &num2; opt = key; key = getkey() false

key = operator ?

true

++ optcnt

optcnt = 2 ?

false true calculate *ptr true key = delete ? calculate result false

false

key = EQUAL ?

opt = key; optcnt = 1;

num1 = result;

true calculate result

key = getkey()

key = EQUAL ?

false

opt = NULL; optcnt = 0;

true END

Das könnte Ihnen auch gefallen