Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Question!


Name: Help
Title:
  Where is the error?
Question:
program change;

var n1,n2,n3:integer;

begin

writeln('Inserert a number');
write('num1:      '); readln(n1);
write('num2:      '); readln(n2);
writeln;

n3:=n1;
n1:=n2;
n2:=n3;

write('num1:      ' n1);
write('num2:      ' n2);
readln;

end.
Answers:

Name: Ivan_Alone
You need do it: (write , )
write('num1:      ', n1);
write('num2:      ', n2);
and i recommend writeln but not write =)