Chapter 4 Quiz C
Ten minute quiz.
The weighted average of a list of numbers counts each number according to its weight, then divide by the total weight.
Example:
wAvg [1,2,3,4] [10,20,30,40] == 3
You can produce either an integer or floating point answer.