Java Problem : Find the Character Case
Write a Java program that takes a character as an Input, and prints one of the following values: 1, 0, or -1.
The program should print the value based on certain rules –
If the character is an uppercase alphabet (A – Z), print 1
If the character is a lowercase alphabet (a – z), print 0
If the character is not an alphabet, print -1
https://codeparttime.com/find-the-character-case-java-problem/