
-----------------------------------
silent_k
Tue May 31, 2005 6:53 pm

Arrays And Counter -
-----------------------------------
Hi 
I have to create  program using array and counters that asks the user to input a bunch of numbers(marks)from 0-10 and as soon as a certain value is entered (such as -45) then the program stops asking the user to input a mark and displays how many students in this case has the same mark (2 students have 4 marks if you enter 4 twice etc.) So far i have done the following but I don't know is the what becomes strint(l) after the error trap code is finished.Please help!

var c:array0..10 of list
var l: string
put "Please enter the marks."
loop
get l: *
if l >="0" and ="a" and 