Average Mark
JavaScript
10 pts
Average Mark
Yonas got these marks: math = 78, science = 88, english = 92. Create total (the sum of the three marks) and average (the total divided by 3). Calculate from the variable names — do not type 258 or 86. Print:
Total: 258 Average: 86
Checklist
- Calculate
totalandaveragefrom the marks. - Print the total and the average.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
