Problem Solve 7 1/2

Score: 0 / 16.0


Exercises

0 / 1.0

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

Given two int arrays a and b, each with two elements, return a new array with four elements containing all the elements of a followed by...

0 / 1.0

Given an int array of any length, return a new array of its first 2 elements. If the array is smaller than length 2, use whatever...

0 / 1.0

Return the centered average of an array of ints, which we'll say is the mean average of the values, except ignoring the largest and...

0 / 1.0

Given a number n, create and return a new int array of length n, containing the numbers 0, 1, 2, ... n-1. The given n may be 0, in which...

0 / 1.0

This method takes an array of integers as a parameter. It returns true if the elements in the array are unique, false otherwise. For...

0 / 1.0

This method takes an integer array as a parameter and returns the minimum difference between adjacent values in the array. The difference...