It must allow the user to input the values for the Midterm Rating and Final Rating based on Figure 2.
This must be achieved by a function call to inputRating(stud, n).
Valid values for Midterm Rating and Final Rating ranges from 70 to 100.
All inputs must be validated.
fig. 2 looks like this
-for each class, Enter the Midterm grade, Final grade (seperated by a space)
CSC111: 80 85
CSC112: 89 89
> This must be achieved by a function call to inputRating(stud, n).
Right, so what's your question?
You have a function, but you never call it.
You managed to write code to call getTable and call displayTable, so what's stopping you calling inputRating?
Sure, inputRating lacks input of data, but you already know how to input things in getTable.
So again, you have all you need.