if in pascal
In Pascal, you can create a simple program without any personal words or sentences. Here's an example of a basic Pascal program that prints "Hello, World!" to the console:
program HelloWorld;
begin
writeln('Hello, World!');
end.
This program uses the writeln
function to output the text "Hello, World!" to the console. The begin
and end
keywords define the main block of the program. When you run this program, it will display the message "Hello, World!" on the screen.
Let me know if you have any further questions.