I am making a program where I need to include the progress of an entire class based on the number of lessons they have taken versus the number of lessons available. I understand that for a single student, the formula is number of lessons taken divided by the total number of lessons times 100.
How do I compute for it in a class level?
Please take note that some students might be ahead of their classmates in answering lessons.