In Java we were supsoed to create a program where it read a listof grades from a text file and then calculate a GPA but im runninginto a error in the code below where im getting a null pointerexeption. im not sure here im going wrong and any help would begreat.
package program1;
import algs31.BinarySearchST;
import stdlib.*;
public class ComputeGPA {
public static void main(String[] args) {
BinarySearchST<String, Double> gradePointsST = newBinarySearchST<>();
gradePointsST.put(“A+”,4.33);
gradePointsST.put(“A”, 4.00);
gradePointsST.put(“A-“,3.67);
gradePointsST.put(“B+”,3.33);
gradePointsST.put(“B”, 3.00);
gradePointsST.put(“B-“,2.67);
gradePointsST.put(“C+”,2.33);
gradePointsST.put(“C”, 2.00);
gradePointsST.put(“C-“,1.67);
gradePointsST.put(“D”, 1.00);
gradePointsST.put(“F”, 0.00);
double totalGradePoints =0.0;
int numGrades
PayPal Gateway not configured
PayPal Gateway not configured