View Single Post
  #4 (permalink)  
Old 06-15-2007, 02:15 AM
Sunardy W Sunardy W is offline
Novice
Join Date: Jun 2007
Posts: 5
iTrader: (0)
Sunardy W is on a distinguished road
you can add this in your const :
valueBelowAvg = 10;
valueAboveAvg = 10;
so when their ask you to change the rules to get a grade, you just change their constant value.

you can use this for array :
var arrType : array [1..maxStudents] of integer;

and for grading, make a function with if.. then.. else.. and compare it with your constant value.

__________________
Powered by Yahoo! Answers
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!