import java.util.*;
class riwi
{
public static void main(String[]args)
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter a number::");
int n=sc.nextInt();
int ll,l,f;
ll=n%100;
l=ll/10;
f=n%10;
if(l==f)
System.out.println("Riwi no.");
else
System.out.println("Not Riwi No.");
}
}
No comments:
Post a Comment
any problem in any program comment:-