Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
uses crt; var a[1..100] of integer; i,n,count: integer; begincount: =0; read(n); for i: =1 to n do read(a[i]); if a[i]> 0 then inc(count); write(count); end.
в блок схемах не сильна
var n: integer;
s,s0: real;
begin
n: =1;
s: =10;
repeat
n: =n+1;
s: = s + (100+p)*s0/100;
s0: =(100+p)*s0/100;
until s> 200;
writeln(s);
end.
var x,y: integer;
read(x,y);
if (x> 0) and (y> 0) then writeln("i");
if (x> 0) and (y< 0) then writeln("iv");
if (x< 0) and (y> 0) then writeln("ii");
if (x< 0) and (y< 0) then writeln("iii");
(not v) and ((not n and d) or n)
если записывать логики
-v*(n+(-nd)) = -v*+n)(n+d)) = -v*(n+d)
запишем выражение
not v and (n or d)
c++
! v & & (n||d)
Популярные вопросы