Convert each percentage to its decimal form if needed
Add all the percentages together
Divide the total by the number of percentages
If the percentages have different weights, multiply each percentage by its weight first
Add the weighted values together
Divide by the total of the weights
Convert the result back to a percentage if needed
