Tip:
Highlight text to annotate it
X
Continuing here, see I just got an error now
This is interesting because it shows you the errors you have in your code
It is important that you start paying attention to what is written down here
Then the thing is, this [+] the [+ calc_media] can not be there
In Pascal we have to use the comma (,) to turn a text with a variable within the writeln
Just click on the error down here that it automatically selects the wrong line of your code
Our mistake is that this [media] in place [calc_media]
Look here, Total errors: 0
So now I can be running my program
I'm just gonna make a mistake and put only with [+] for you to see what happens
See that the error was Incompatible types because I have to have [,]
Now I have no more error
So I can have performed
For me to run it here just click Run >> > Run