Calculating the student's grade point average
Write a program that receives a student's lessons and the number of each unit (receiving the score and the number of unit until the number is 0).
The scores below 10 are ineffective
The value of the lesson score with a higher number of units is greater, so the score of each lesson must be multiplied by the number of that unit of that lesson