Hi guys! I'm sure this is the wrong place since it's Pascal but I need immediate help.
I'm supposed to write this program while will accept an unknown number of names of candidates and the total votes that person has recieved. It's a program to do with elections. It basically has to find the Highest number among the numbers inputted and print "The winner is .....!"
I'm not sure I've written my program the correct way, but I keep getting this error. I would appreciate it if anyone could after this for me please.
![]()
And this is the error I get.
![]()
I'm supposed to write this program while will accept an unknown number of names of candidates and the total votes that person has recieved. It's a program to do with elections. It basically has to find the Highest number among the numbers inputted and print "The winner is .....!"
I'm not sure I've written my program the correct way, but I keep getting this error. I would appreciate it if anyone could after this for me please.

And this is the error I get.
