Vanilla 1.1.5a jest produktem Lussumo. Więcej informacji: Dokumentacja, Forum.
program Odwrotnosc;
uses crt;
const maxroz=100;
var a,b:integer;
t:array[1..maxroz] of integer;
begin
clrscr;
writeln('Podaj liczbe elementow');
read(b);
writeln('Podaj liczby');
for a:=1 to b do
read(t[a]);
writeln('Liczby w odwrotnej kolejnosci');
for a:=b downto 1 do
writeln(t[a]);
end.
Wszytko się kompiluje, ale przy podawaniu licz wychodzi z programu. Mogłby ktos to poprawić?
Od 1 do 3 z 3