Java tutorial
//package com.java2s; public class Main { public static int getOddOrEvent(int groupId) { //int groupId = 5; int remainder = Math.floorMod(groupId, 2); return remainder; } }