Игорь Стольников
Гуру
(4561)
5 лет назад
Список ошибок
a) Operator '&' cannot be applied to operands of type 'int' and 'bool'
b) Operator '+' cannot be applied to operands of type 'bool' and 'bool'
c) Operator '<' cannot be applied to operands of type 'bool' and 'int'
d) ; expected + Invalid expression term ')'
h) Operator '!' cannot be applied to operand of type 'int'
i) Operator '!' cannot be applied to operand of type 'int' + Division by constant zero
Дайте совет, пожалуйста, что делать
Найдите ошибки:
int a=4, b=5; bool k;
a)k = 1 &true;
b)k = true+false;
c)k = true< 0;
d)k = true 0 | ) b==4;
h)k = ! !b==0 | | k;
i)k = true | (1/0 < 0).