Write a program in java to Check whether the number is even positive or not
Answers
Answered by
0
Answer:
ju wide
Explanation:
Answered by
2
- Java Program to Check if a Given Integer is Odd or Even
- public class Odd_Even.
- int n;
- Scanner s = new Scanner(System.
- System. out. print("Enter the number you want to check:");
- n = s. nextInt();
- if(n % 2 == 0)
- System. out. println("The given number "+n+" is Even ");
- System. out. println("The given number "+n+" is Odd ");
i hope its help you please like and mark me on brainliest
Similar questions