Rewrite the following statement using if-else :
C= (y>='A' && y<='Z')? “Upper Case Letter" : "Lower Case Letter
Answers
Answered by
2
Answer:
if(y>='A' && y<='Z')
System.out.println("Upper Case Character");
else
System.out.println("Lower Case Character");
Similar questions