Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 411 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 411 Bytes

IsEven

A simple utility to tell you if a number is even in Java. Used in Monsoon.

Usage

import wtf.monsoon.util.IsEven;

public class Main {

    public static void main(String[] args) {
       System.out.println(IsEven.isEven(5));
       System.out.println(IsEven.isEven(12));
       System.out.println(IsEven.isEven(76218));
       System.out.println(IsEven.isEven(880124126));
    }
    
}