An instructor calculates the grade percentage based on the highest score on a test.
Given the highest score and one student’s score, write a solution to calculate and
print that student’s test percentage.
Start
Declare variable highestScore
Declare variable studentScore
Declare variable testPercentage
Read highestScore from the user
Read studentScore from the user
Set testPercentage=(studentScore/highestScore)*100.0
Display testPercentage
Stop
Comments
Leave a comment