writeln / write
Prints the value (writeln moves to the next line).
Syntax
writeln(value);
Description
writeln prints and moves to the next line; write does not. Multiple values are separated by commas.
Example
Loading editor…
Expected output
Hello World 7
When to use?
Showing the result.
Common mistakes
- ⚠️ Text in SINGLE quotes: 'Hello'. Program ends with end. (dot).