PROGRAMMING PASCAL
LESSON 1
We will begin with simple programs. We begin with 'Hello World' program.
As any languages has rules, grammar, syntax... Pascal has his own rules and you should obey it.
The program name we write (program myfirstprog)we use begin in the program beginning and end on its ending
but before that we write uses means using a library like wincrt which allow writing and reading variables.
after we put BEGIN we want to show this message on computer screen "Hello World"so it will be like that write('Hello world');this is a line each line ends with ;
The program will be like this:
program myfirstprog;
uses wincrt;
BEGIN
write('Hello World');
END.
I think Pascal is the easiest programming language
Install Pascal here
Aucun commentaire:
Enregistrer un commentaire