Computer Sciences

This blog gives you informations about internet, programming and computing news...

vendredi 1 juillet 2016

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;
         write('Hello World');

I think Pascal is the easiest programming language

Install Pascal 

Aucun commentaire:

Enregistrer un commentaire