Edabit Java: Is the Number Less than or Equal to Zero?, Very Easy Difficulty
- Justin Mah
- Apr 14, 2021
- 1 min read
This was a simple question where all I needed to do was return the element true or false if it was less than or equal to zero

public class Program {
public static boolean lessThanOrEqualToZero(int num) {
boolean nums = num <= 0;
return nums;
}
}
Comments