nus/Lab4/IsModEq.java
2022-11-08 18:03:39 +08:00

13 lines
294 B
Java

/**
* A non-generic Immutator with parameter
* div and mod that takes in an integer val
* and return the boolean value by checking
* if the given value is equal to mod when
* divided by div.
*
* CS2030S Lab 4
* AY22/23 Semester 1
*
* @author Put Your Name (Lab Group)
*/