Write the compare(int a) method so that it:
displays "The number is less than 5" if the method argument is less than 5,
otherwise, displays "The number is equal or greater than 5". without calling System.out.println or System.out.printf .use compare(int a) method
package en.codegym.task.jdk13.task04.task0408;
/*
Good or bad?
*/
public class Solution {
public static void main(String[] args) {
compare(3);
compare(6);
compare(5);
}
public static void compare(int a) {
if(a>5) //write your code here
}
}