Module 12: CodeWorkout Practice Problems

Score: 0 / 2.0

Compound conditions, loops, arrays


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

Given an array of ints, return true if every element is either a 1 or a 4. Otherwise, return false.