Mother: Let's clean our house today.
Sonal: what a nice plan !
Mother: will you help me in this work ? indirect speech
Answers
Answered by
0
Answer:
java.util.Scanner sc = new
java.util.Scanner(System.in);
System.out.print("Enter a number:");
int num = sc.nextlnt();
if (num ==0)
System.out.println("it's zero");
else if (num % 2 == 0)
System.out.println("Even number");
else System.out.println("odd number");
Similar questions