Java If Else English
Java If Else English
If-Else
Problem Statement
Using "if-else" you can perform decision making in Java. See the flowchart below (taken from wikipedia):
We given you partially completed code in the editor, complete it to solve the problem.
Input Format
There is a single line of input: integer N .
Constraints
1 N 100
Output Format
Print "Weird" if the number is weird. Otherwise, print "Not Weird". Do not print the quotation marks.
Sample Input 1
3
Sample Output 1
Weird
Sample Input 2
24
Sample Output 2
Not Weird