Exercise 3 · Chapter: Linear ProgramsRequired+50 XP
Fix the Math
This program should compute the average of three numbers, but it uses the wrong operator. Fix it!
Expected output:
Average: 20.0
Need a hint?
3 available · costs 5 XP each
python
a = 10
b = 20
c = 30
average = a + b + c * 3
print("Average:", average)
Output
Run your code to see the output here.