about | help | code help+videos | done | prefs |
Write a method that returns the grade point average, rounded to one decimal place, based on a bunch of equal-weighted letter grades, where "A" is a 4.0, "B" is a 3.0, etc. (the typical GPA values). Return the average GPA as a double to one decimal place. aaa2calcGrades("AB") → "3.5" aaa2calcGrades("ABC") → "3.0" aaa2calcGrades("FFFFFFA") → "0.5" ...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: 290
Copyright Nick Parlante 2017 - privacy