Забыл еще объявить массив х, нужно написать array of integer.
Это скрипт bash (командная оболочка UNIX).
Const n=8;
var x:array[1..n] of real;
i:integer; min:real;
begin
for i:=1 to n do
begin
write('x[',i,']=');
readln(x[i]);
end;
min:=x[1];
for i:=2 to n do
if x[i]<min then min:=x[i];
for i:=1 to n do
if x[i]<0 then x[i]:=min;
for i:=1 to n do write(x[i],' ');
writeln;
<span>end.
</span>
Sub Zadanie24891339()
A = CDbl(InputBox("A = "))
B = CDbl(InputBox("B = "))
if A > B then
c = A
A = B
B = c
end if
MsgBox "A=" & A & " B=" & B
End Sub
Zadanie24891339
Ну их очень много,самый крутой сис. блок стоит где-то 200 тыс. руб