a := x div 100 = 136 div 100 = 1
b := x mod 100 = 136 mod 100 = 36
c := x mod 10 = 136 mod 10 = 6
s := a + b + c = 1 + 36 + 6 = 43
Объяснение:
a := x div 100 = 136 div 100 = 1
b := x mod 100 = 136 mod 100 = 36
c := x mod 10 = 136 mod 10 = 6
s := a + b + c = 1 + 36 + 6 = 43
Объяснение: