Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 636 Bytes

File metadata and controls

21 lines (12 loc) · 636 Bytes

Java Challenges

This repository contains solutions for basic Java programming challenges.

Implemented Challenges

  • Challenge 1: Find Maximum
    Write a method maximum that 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.