about | help | code help+videos | done | prefs |
Write a method that returns true if you are passing a class, false otherwise. To pass a class, you must have AT LEAST a 60 in each category (assignments, tests, and quizzes) AND the average of the three categories must be AT LEAST 70. Note that you should use "div" to find the average, ignoring decimal places. passing(60, 60, 60) → false passing(60, 80, 90) → true passing(70, 70, 70) → 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
Difficulty: 245
Copyright Nick Parlante 2017 - privacy