B4Coder

🎓 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

  1. total is an Integer: make total = 0, and add every student's marks to it.
  2. average is a Real: after the loop, average = round(total / length(students), 1).
  3. Tell "Average: " + average.

Getting the mission ready…