Who is Participating?

the number in the weight column should be right-aligned under the 't', the numbers in the age column should be right-aligned under the 'e' and the names in the name column should be left-aligned under the 'n' I hope that made some sense!

begin
write(name1);
for i:=1 to 20-length(name1) do
write(' ');
write(wt1);
for i:=1 to 10-length(wt1) do
write(' ');
write(age1);
(* Do like this for all of the names
If you have an array it could be easier to do this*)

begin
write(name1);
for i:=1 to 20-length(name1) do
write(' ');
str(wt1,tempstring);
for i:=1 to 3-length(tempstring) do
write(' ');
write(wt1);
for i:=1 to 10-length(wt1) do
write(' ');
str(age1,tempstring);
for i:=1 to 3-length(tempstring) do
write(' ');
write(age1);