This repository contains solutions for basic Java programming challenges.
-
Challenge 1: Find Maximum
Write a methodmaximumthat returns the largest integer in a list.
It is assumed that the list has at least one element. -
Challenge 2: Print Number in Words
Prints"ONE"to"NINE"if the number is between 1 and 9, otherwise prints"OTHER". -
Challenge 3: Check Odd / Even
Prints"Odd Number"if the number is odd, or"Even Number"otherwise. -
Challenge 4: Calculate the Average
Returns the average value of the integers in a list.