Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 356 Bytes

File metadata and controls

17 lines (16 loc) · 356 Bytes

JavaTasks

Open Repository for logical tasks import java.util.Scanner; class Task1{ public static void main(String[] args){ // logic to find the Even numbers from given input Scanner sc = new Scanner(System.in); int number = sc.nextInt(); if(n==2){ System.out.println("Number is Even");

} else{ System.out.println(" "); } } }