Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
program month;
uses crt;
var a: integer;
begin
clrscr;
write('vsatvte chislo');
read(a);
if (a=12) or (a=1) or (a=2) then write('zima')
else if (a=3) or (a=4) or (a=5) then write ('vesna')
else if (a=6) or (a=7) or (a=8) then write ('leto')
else write('oseni');
repeat until keypressed;
end.
формула:
2^i
2^2=4 цвета
т.е. в двоичном коде:
00
01
10
11
Популярные вопросы