i get this msg:
wrong number of parameters specified.
and heres what i wrote:
program test;
var count, n : integer;
procedure print(indexx,n:integer);
begin
n:= 0;
indexx:=n+1;
writeln('the index is ',indexx);
if (indexx > 0) and (indexx<5) then
print(indexx);
end;
begin
writeln('write a number more than 0 and less than 5 to see the loop');
readln(count);
print(count);
readln;
end.
2007-03-10
02:53:05
·
8 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design