id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

jebbert@volusia.k12.fl.us > aaa2calcGrades
prev  |  next  |  chance

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)

public String aaa2calcGrades(String grds) }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 290

Copyright Nick Parlante 2017 - privacy