Adjusting Grades
- In Taiwan, normally a student receives a grade between 0 and 100
points. For an undergraduate student, if the grade is less than 60
points, that implies this student fails and must take the course again.
- Sometimes the instructor may decide to adjust the grades of all
students so that more students can pass. A popular formula is to
calculate and square root of the original grade and multiply by 10.
That is,
- new = sqrt(original) * 10
- Because the grade should be an integer, don't forget to truncate
the fractional part.
- Write a Python program which input the grade of a student, and
calculate the adjusted new grade according to the above formula.
The program may run as follows:
Input the original grade -- 36
The adjusted grade is 60.
Input the original grade -- 50
The adjusted grade is 71.