View Single Post
Old Oct 18th, 2006, 6:59 AM   #6
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,886
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
It's pretty much as simple as you suggsted.

Given that...
grade1 = 85
grade2 = 87
grade3 = 88
grade4 = 89

Then...
average = (grade1+grade2+grade3+grade4)/4

...however that must be done in ColdFusion. I don't know the language, but it wouldn't be hard to find out. Just Google "Mathematical Operations in Coldfusion".
Sane is offline   Reply With Quote