for i=1..3 read mark sum += mark next i avg = mark/3 percentage of what?
You can ask a new question or answer this question.