| about | help | code help+videos | done | prefs |
passFail2() -- You are to determine whether a student's average earns them a passing or failing grade. The method has two inputs, the student's average and the threshold for passing. If the average meets or exceeds the threshold, the method should return "pass". If it is less than the threshold, it should return "fail" passFail2(90.0, 60) → "pass" passFail2(58.0, 60) → "fail" passFail2(60.1, 60) → "pass" ...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: 10
Copyright Nick Parlante 2017 - privacy