| about | help | code help+videos | done | prefs |
Some schools give an extra bonus to the grade received in AP classes. A - 4 points B - 3 points C - 2 points D - 1 point F - 0 pointsGrades may include a + or - but it is ignored! The second array, isAP is true if the class is an AP class. If a class is an AP class then an extra 1 point is added to the grade's point value if the grade is a C or better. calcGPA(false, ["A-", "A+", "A"], [true, true, true]) → 4.0 calcGPA(true, ["A-", "A+", "A"], [true, true, true]) → 5.0 calcGPA(false, ["F", "C+", "B", "A-"], [false, false, false, true]) → 2.25 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 200
Copyright Nick Parlante 2017 - privacy