Percentage: a coding challenge

The exam cell turns total marks into a percentage.