2 test cases not running.
Here’s my code:
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
char ch = sc.next().charAt(0);
if(ch >= 'A' && ch <= 'Z') {
System.out.println("lowercase");
}
else if( ch >= 'a' && ch <= 'z') {
System.out.println("UPPERCASE");
} else {
System.out.println("Invalid");
}
}
}