Learn Pascal Programming with Mc Kenzie We use the Writeln statement to output a message on the screen. Here is a statement to output a welcome message. Writeln('Hello World!'); Like the previous statements, this one also ends with the semi-colon. To omit this will result in a syntax error. Try writing a Pascal statement to print your full name. Write the statement only. Welcome to the Pascal World! |
|
Program 3Program three is a bible verse. Who said these words? Do you know?
This program is made up of only two output statements, found in the body of the program The Program Heading starts with the word PROGRAM followed by the name of the program. The name of this program is bibleverse .The heading ends with the first semi-colon. These words are recorded in the book of John : chapter 20, verse 21. Your Turn Write a Pascal program to display a favorite quotation that you think is inspirational or important to you in some way. BSS Main | Previous Lesson | Next Lesson
InfoDAM Web Technologies©MMX |