created function gradeaverage

gradeaverage
math of the problem adding all the assignment totals

assignment totals
return gradetotals and divide it by 4

return gradetotals
console log gradeaverage

gradeaverage