public class JavaApplication13 {



Scanner sc=new Scanner(System.in);
System.out.println("Enter 1st name");
String str1=sc.next();
System.out.println("Enter 2nd name");
String str2=sc.next();

int len=str1.length();
int len1=str2.length();

System.out.println(len);
System.out.println(len1);

int i=len+len1;
System.out.println(i);





if(i==3)
{
System.out.println("ok 22%");
}
else if(i==1)
{
System.out.println("yukkk 10%");
}
else if(i==2)
{
System.out.println("bad 12%");
}
else if(i==4)
{
System.out.println("15%");
}
else if(i==5)
{
System.out.println("ok 40%");
}
else if(i==6)
{
System.out.println("ok 43%");
}
else if(i==7)
{
System.out.println("ok 48%");
}
else if(i==8)
{
System.out.println("good 55%");
}
else if(i==9)
{
System.out.println("good 61%");
}
else if(i==10)
{
System.out.println("nice 65%");
}
else if(i==11)
{
System.out.println("nice 77%");
}
else if(i==12)
{
System.out.println("very good 83%");
}
else if(i==13)
{
System.out.println("better86%");
}
else if(i==14)
{
System.out.println("cool 93%");
}
else if(i==15)
{
System.out.println("your love is best 95%");
}
else
{
System.out.println("undevideable 99%");
}
}
}
this is my 1st java program.....i want it to run on my java cell phone
plz help.........