Calculate the weighted average

NOTES AND CREDITS

Notes

Weighted average