[fpc-devel] readln problem
petr at katovsky.cz
Mon Oct 29 13:36:31 CET 2007
Hello, i would like to use the Readln command to wait for the user to press
enter before ending the program.
1.First example - it works fine:
2.Second example - it does not work.
program NUMBERS (Input,Output);
var A,B : Integer;
Write ('Find greater number.');
Write ('Enter two numbers.');
if A>B then
Write ('The greater number is',A)
Write ('The greater number is',B);
Could anybody tell me why it does not work?
Thanks a lot
More information about the fpc-devel