CodeWorkout - X21-X30 - a smattering of exercises for discussion

Score: 0 / 9.0


Exercises

0 / 1.0

Write a function in Java that implements the following logic: Given 3 int values, a, b, and c, return their sum. However, if one of the...

0 / 1.0

Write a function in Java that implements the following logic: Given three ints, a, b, and c, return true if one of b or c is "close" to a...

0 / 1.0

Write a function in Java that implements the following logic: Given 2 int values greater than 0, return whichever value is nearest to 21...

0 / 1.0

Write a function in Java that implements the following logic: Given a string and an int n, return a string made of n repetitions of the...