|
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".
|