var
a, b, c, d, t1, t2:longint;
begin
write('a = '); readln(a);
write('b = '); readln(b);
write('c = '); readln(c);
write('d = '); readln(d);
if a < b then
t1 := a
else
t1 := b;
if c < d then
t2 := c
t2 := d;
if t1 < t2 then
writeln('Min = ', t1)
writeln('Min = ', t2);
readln;
end.
a,b,c,d,max:longint;
read(a); read(b); read(c); read(d);
min:=a;
if min>b then min:=b;
if min>c then min:=c;
if min>d then min:=d;
writeln(min);
Программа работает, проверено мной.)
var
a, b, c, d, t1, t2:longint;
begin
write('a = '); readln(a);
write('b = '); readln(b);
write('c = '); readln(c);
write('d = '); readln(d);
if a < b then
t1 := a
else
t1 := b;
if c < d then
t2 := c
else
t2 := d;
if t1 < t2 then
writeln('Min = ', t1)
else
writeln('Min = ', t2);
readln;
end.
var
a,b,c,d,max:longint;
begin
read(a); read(b); read(c); read(d);
min:=a;
if min>b then min:=b;
if min>c then min:=c;
if min>d then min:=d;
writeln(min);
end.
Программа работает, проверено мной.)