Requirements for Completing Labs and Tasks
Follow the rules:
- Save your files with the names given in the tasks (e.g. task-04.pas).
- Give meaningfull names to your variables.
- Use comments to make the program clear.
- Use comments before the program code with a text of the task. For comments use curly brackets:

- Use comments after the program code with a text of 2-3 logs of the results (outputs). It’s easy to do just by copying. Use curly brackets to add comments :

- Add ouput text to make the program clear for user. Let's consider the following problem:
! [task-004.pas
] Calculate hypotenuse and perimeter of a right-angled triangle, legs of triangle is given (root of (a2 + b2)) .
Here is an example of right program which is clear for user:
Possible result:
Input the values of triangle legs: 3 6 hypotenuse = 6.70820393249937 perimeter = 15.7082039324994