Question: how to calculate percentage for attendance?
Answer: Let the total number of days of attendance be x. Then number of days a student is present be y. Then the percentage of attendance is equal to ((y/x)*100).