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

 

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

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)

public boolean passing(int assignments, int tests, int quizzes) { }

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: 245

Copyright Nick Parlante 2017 - privacy