I have a set of scores (3), where i have found the average of each. I am not sure how tu turn this score into a percentage.

example

Child 1 scores:

3 out of 10 on test one
7 out of 10 on test two
8 out of 10 on test three

i want to turn these scores into an avergae percentage in pascal, can anyone tell me how?

thanks in advance :)

avgscore:=(score1+score2+score3)/3;
prcntscore:=avgscore*10;
writeln('average percent is: '. prcntscore);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.