about | help | code help+videos | done | prefs |
getToGraduate
You go to super-duper college, where you graduate only if you receive an 'A' or 'B' is your Chemistry and Programming classes. Create a method that returns "true" if the grade for Chemistry and Programming is 'A' or 'B'. This method should return a false if otherwise. getToGraduate('A', 'B') → True getToGraduate('A', 'C') → False getToGraduate('B', 'B') → True ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy