1)
а = а+6 =21
b = -a = -21
c = -a - 3 * b = -21 + 63 = 42
Значения:
а=21
b=-21
c=42
2)a = 2018 div 1000 = 2
b = 2018 mod 10 = 8
c = 2018 div 10 mod 10 = 201 mod 10 = 1
вывод: 11
3) 9 раз
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
1)
а = а+6 =21
b = -a = -21
c = -a - 3 * b = -21 + 63 = 42
Значения:
а=21
b=-21
c=42
2)a = 2018 div 1000 = 2
b = 2018 mod 10 = 8
c = 2018 div 10 mod 10 = 201 mod 10 = 1
вывод: 11
3) 9 раз