- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
program chet;
uses crt;
var a,
b,
x,
y:Integer;
begin
clrscr;
Write('Vvedite X=');
ReadLn(x);
Write('Vvedite Y=');
ReadLn(y);
for a:=0 to 30000 do
for b:=0 to 30000 do
begin
if (a+b=x)and(a*b=y) then
begin
Write('a=',a);
WriteLn('b=',b);
end;
end;
ReadLn;
end.
ctm 24.10.2011 06:46 # 0
roman-kashitsyn 24.10.2011 13:51 # 0
guest8 09.04.2019 11:48 # −999