Skip to content

Search Results

Searching for: conditionals

Individual Exercises

0 / 50

Write a function in Java that implements the following logic: Given 2 ints, a and b, return their sum. However, sums in the range 10..19...

0 / 50

Write a function in Java that implements the following logic: Given three ints, a b c, return true if one of them is 10 or more less than...

0 / 50

Write a function in Java that implements the following logic: Given a number n, return true if n is in the range 1..10, inclusive. Unless...

0 / 50

Write a function in Java that implements the following logic: We are having a party with amounts of tea and candy. Return the int outcome...

0 / 50

Write a function in Java that implements the following logic: Your cell phone rings. Return true if you should answer it. Normally you...

0 / 50

Write a function in Java that implements the following logic: Given a string, if the string begins with "red" or "blue" return that color...

0 / 50

Write a function in Java that implements the following logic: Given 2 ints, a and b, return their sum. However, "teen" values in the...