Hello friends.

I cannot seem to get my code to run. Can someone who knows pascal please help to write this program code , I will greatly appreciate your assistance, the details are as follows.

*Im writing a code to enter the names of 4 People(Constituents) and then enter their number of vodes and after 4 candidates and 4 vote counts are entered it outputs the candidate with the highest number of votes.

I must develop a pascal algorithm/code to determine the winning candidate for a constituency in the national elections the algorithm must accept as input the names of 4 random candidates and the number of votes each candidate recieves and output the sucessful candidate .

IT SHOULD LOOK LIKE THIS.
https://ibb.co/koMtmc


asda.jpg