THINK FIRST·CODE LATER

← All labs

GradeReport: file input, objects and file output

Problem

Read students.txt (lines of the form id,name,grade), build Student objects, and write a formatted report.txt ending with the class average.

Write it here or in your IDE, then paste it. Compile and test it yourself before comparing. Your code stays in your browser — it is never sent to or stored on the server.