Computer Science, asked by choudhryvaibhav5433, 1 year ago

Write a program to.compute to input string from a keyboard and display the appropriate message by the strings are equal or not

Answers

Answered by Pranav777
3
public class abc
{
public static void main ( char ch )
{
if ( ch>= 'A' && ch<= 'Z' || ch>= 'a' && ch<= 'z' )
{
System.out.println ( " A String " )
}
else
{
System.out.println ( " Not a String " )
}
}
}
Similar questions