Formulas
- Current attendance = attended ÷ classes held so far × 100.
- Course total = held so far + remaining; if you know the total, remaining = course total − held so far.
- Minimum final attendances = ceiling(course total × minimum ÷ 100), rounding that fraction up.
- Subtract current attendances to find how many are still needed. If that exceeds the remaining classes, the requirement cannot be met within that schedule.
- Maximum total absences = course total − minimum final attendances. Future absences available start with that maximum minus accumulated absences, capped by the remaining classes.
- Recovering the minimum today counts consecutive classes against the classes held so far; meeting it at the end uses the course total and the remaining-class schedule.