Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
qbasic:
input "число а=", a
x = a
do
x = x ^ 2 + 1
n = n + 1
loop until x > = 1000000
print a, x, n
max(n) = 7, при a = 0
var x1,x2,x3,x4,x5: integer;
s: real;
begin
read(x1,x2,x3,x4,x5);
s: = (x1+x2+x3)/(x4+x5);
if round(s)=s then writeln("celoe - "s);
end.
Популярные вопросы