Объяснение:
No or not?
Grammar > Easily confused words > No or not?
из English Grammar Today
No and not are the two most common words we use to indicate negation. We use no before a noun phrase:
There’s no address on the envelope.
[parent to child]
No biscuits before dinner!
No decisions have been made.
We use not with any other phrase or clause:
It’s not often that you stop and think about the way you breathe.
Not suitable for children under 15.
Not surprisingly, it was a tense match but eventually the more experienced Australians won.
A:
Do you go cycling all year round?
B:
Not in the winter.
a) 1 + 2 + 2 · 3 = 3 + 6 = 9
b) (1 + 2 + 2) · 3 = 5 · 3 = 15
c) 1 · 2 + 2 · 3 = 2 + 6 = 8
d) 1 · (2 + 2) · 3 = 1 · 4 · 3 = 12
e) (1 · 2 + 2) · 3 = (2 + 2) · 3 = 4 · 3 = 12
f) 1 · (2 + 2 · 3) = 2 + 6 = 8
g) 1 · 2 = 2
h) (1>2) or (6 · 1 > 2 + 3) = false or true = 0 + 1 = 1 (дизъюнкция - логическая ИЛИ, сложение)
i) not(3 + 2 + 3 > 0) = not(8 > 0) = not(true) = false = 0 (логическое отрицание, инверсия)
j) not(1 + 2 > 0) and not(3 < 0) = not(3 > 0) and not(false) = not(true) and true = false and true = 0 · 1 = 0 (конъюнкция, логическая И, умножение)
var x,y,z,q,s,k: integer;
begin
Writeln('Введите x,y,z,q');
readln(x,y,z,q);
s:=3*x+2*y-z; //x+(x+y)+(x+y-z)
k:=q-s;
writeln('Участвовало ', s);
writeln('Не пришло ', k)
end.