My code
Java Program Even OR Odd import java.io.*;import java.util.Scanner;class EvenOdd { public static void main(String[] args) { int num = 0; if (num % 2 == 0) { System.out.println("Entered Number is Even"); } else { System.out.println("Entered Number is Odd"); } }}What is The output of this Program 🤔?
1 month ago | [YT] | 1
My code
Java Program Even OR Odd
import java.io.*;
import java.util.Scanner;
class EvenOdd {
public static void main(String[] args)
{
int num = 0;
if (num % 2 == 0) {
System.out.println("Entered Number is Even");
}
else {
System.out.println("Entered Number is Odd");
}
}
}
What is The output of this Program 🤔?
1 month ago | [YT] | 1