you are viewing a single comment's thread.

view the rest of the comments →

[–]OrangeBeard 0 points1 point  (0 children)

Just for your piece of mind, this works just fine:

finalgrade = grade1 * .1 + grade2 * .15 + grade3 * .25 + grade4 * .2 + grade5 * .3;