Program Code :
1 2 3 4 5 6 7 | Program First; uses crt; begin Clrscr; Writeln(‘Welcome in Pascal World’); Readln ; End. |
Explanation Program:
Line 1 : Indicates that this program has the title First
Line 2 : Indicates that this program uses crt unit
Line 3 : Starting the main program block
Line 4 : Clean the monitor screen of the texts that have previously
Line 5 : Displaying text in Pascal World Welcome and position the cursor on the next line
Line 6 : Waiting for the user presses the button
Line 7 : End the program
If the above program code at compile and run the results will be displayed like this :
Output Program :
Welcome in Pascal World |











0 komentar:
Posting Komentar