Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
program xxx;
var i, k, d, e, s : integer;
begin
k: =0;
for i: = 10 to 99 do
d: = i div 10;
e: = i mod 10;
s: =d + e;
if i mod s = 0 then k: =k+1
end;
write ('кол-во чисел которые делятся на сумму своих цифр=', k);
readln
end.
1 input a
2 input b
3 input c
20 if a> b then goto 60
30 if b> c then goto 110
40 max=с
50 goto 120
60 if a> c then goto 90
70 max=с
80 goto 120
90 max=a
100 goto 120
110 max=b
120 if a< b then goto 160
130 if b< c then goto 210
140 min=с
150 goto 220
160 if a< c then goto 190
170 min=с
180 goto 220
190 min=a
200 goto 220
210 min=b
220 print min*max
(1 + 2): 3 = 1
1 * 2 + 3 - 4 =1
((1+2) : 3 + 4) : 5 =1
1 * 2 - 3 : (4 +5- 6) =1
1 * 2 + (3 + 4 +5) - (6 + 7) =1
((1 + 2): 3)* (4 + 5 + 6): ( 7+8) =1
var h,a: integer;
a: =1;
repeat
h: = h+3;
a: =2*a;
writeln('прошло часов - ',h,', амеб - ',a)
until h> =30;
readln;
Популярные вопросы