← all categories
Conditionals
-
largerAbsoluteValue 2.2 🌶️
Write a method that takes two int parameters, a and b, and returns true if a's absolute v…
-
canAfford 2.2 🌶️
Write a method that takes two double parameters, price and budget, and returns true if th…
-
isAdult 2.2 🌶️
The method below is supposed to return true if age is 18 or older, and false otherwise; i…
-
letterGrade 2.4 🌶️🌶️
Write a method that takes one int parameter, score, and returns a letter grade as a Strin…
-
isInRange 2.5 🌶️
Write a method that takes three int parameters, value, min, and max, and returns true if …
-
isLeapYear 2.5 🌶️🌶️
Write a method that takes one int parameter, year, and returns true if it is a leap year,…
-
isValidTriangle 2.5 🌶️🌶️
Write a method that takes three int parameters, sideA, sideB, and sideC, representing thr…
-
Fix isTeen 2.5 🌶️
The method below is supposed to return true if `age` is from 13 to 19 inclusive, and fals…
-
Fix fizzBuzzWord (Error 1) 2.5 🌶️🌶️
The method below is supposed to return the FizzBuzz word for the positive int `n`: `"Fizz…