Output of this byte code is not working properly
import java.util.*;
public class Code3 {
/**
* @ param args the command line arguments
*/
public static void main(String[] args) {
Scanner s1=new Scanner(System.in);
System.out.println("enter your %age");
float a=s1.nextFloat();
System.out.println("enter your location");
String b=s1.next();
if(a>90 && b=="chandigarh"){
System.out.println("selected");
}
else if(a>95&&b!="chandigarh"){
System.out.println("selected");
}
else if(a>=80&&a<90&&b=="chandigarh"){
System.out.println("waiting");
}
else if(a>90&&a<95&&b!="chandigarh"){
System.out.println("waiting");
}
else if(a<80&&b=="chandigarh"){
System.out.println("rejected");
}
else if(a<90&&b!="chandigarh"){
System.out.println("rejected");
}
}
}