M8: CodeWorkout

Score: 0 / 8.0


Exercises

0 / 1.0

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 / 1.0

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 / 1.0

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

0 / 1.0

Write a function in Java that implements the following logic: Given three ints, a, b, and c, return true if b is greater than a, and c is...

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...

0 / 1.0

Given a string of any length, return a new string where the last 2 chars, if present, are swapped, so "coding" yields "codign".

0 / 1.0

Given two strings, word and a separator sep, return a big string made of count occurrences of the word, separated by the separator...