Q1) Test file stores the courses you have taken along with corresponding grade(A,B,C,D, orF) that you received in each course.The file might look like this:
Intoduction to Sociology A
Physics B
Experimenetal Psychology C
Write a program that uses such a file to calculate your grade point average(GPA). A GPA is based on a scale from 5, where A is 4, B is 3, C is 2, D is 1 and F is 0. You should prnt the GPA with two decimal places such as 3.62.