@@ -0,0 +1,571 @@
+package com.hackerrank.contests.daysOfCode_30;%0A%0Aimport java.util.Scanner;%0A%0Apublic class Day3_IfElseStatements %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%09@SuppressWarnings(%22resource%22)%0A%09%09Scanner sc = new Scanner(System.in);%0A%09%09int n = sc.nextInt();%0A%09%09String ans = %22%22;%0A%09%09if (n %25 2 == 1)%0A%09%09%09ans = %22Weird%22;%0A%09%09else %7B%0A%09%09%09// Complete the code%0A%09%09%09if (n %3E= 2 && n %3C= 5) %7B%0A%09%09%09%09ans = %22Not Weird%22;%0A%09%09%09%7D else if (n %3E= 6 && n %3C= 20) %7B%0A%09%09%09%09ans = %22Weird%22;%0A%09%09%09%7D else if (n %3E 20) %7B%0A%09%09%09%09ans = %22Not Weird%22;%0A%09%09%09%7D%0A%0A%09%09%7D%0A%09%09System.out.println(ans);%0A%0A%09%7D%0A%0A%7D%0A

Create Day3_IfElseStatements.java