print in pascal
To print in Pascal, you can use the writeln
or write
statements. Here's an example:
program HelloWorld;
begin
writeln('Hello, World!');
end.
This program will print "Hello, World!" to the console. The writeln
statement adds a newline character after the output, while the write
statement does not. You can use either of these statements to print text in Pascal.