🎓 Student Explorer · Mission 11 of 13
🔢 Typed Average
The university's report needs the class average, with datatypes, as your college course writes them. Datatype Mode is on: click the Start block to see it.
Your mission
- total is an Integer: make total = 0, and add every student's marks to it.
- average is a Real: after the loop, average = round(total / length(students), 1).
- Tell "Average: " + average.
Getting the mission ready…