Hello all,

I've encountered an issue that I cant resolve myself and in need of a little direction / help.

It seems so simple it's killing me.

The program is to check number to see whether they're negative, positive or zero. This I've done by setting up boolean variables and a simple "type in the number" statement & a readln.

The program works fine for single numbers. The issue I have is that I need the prog to ask how many numbers in total will be checked. This then needs to be stored somehow and for the program to allow this number of numbers to be entered, run the prog for each one and to then count and display how many of them were pos, neg or zero.

May not have explained it that well.

Can anyone point me in the right direction?
Thanks.

(I have a variable for total numbers to enter, the main bit I'm missing is the construct for the loop, each time I amend it I get odd results or it crashes. Also how do i then Count these results?)