Im making a simple program with four text boxes on a form with four corresponding labels. Each label is a class i am taking.At the bottom is a command button. All i want is for the user to put his final grade in each of the text boxes and click the button to get their GPA.

If Text1.Text = 90 Then
int1TotalPoints = 45
ElseIf Text1.Text = 91 Then
int1TotalPoints = 45 ' 90 to 100 = 45 points
' 80 to 89 = 33.75

Is there anyway i can give 90 To 100 a value of 45 without this long coding?
Plus each TextBox can have anywhere from a Below 60 which is failing to 100 so how would i code this?
Thanxxxxxxx