0

Why I am not getting the output "You are in" even after providing the input "admin" as per the condition

I am giving input "admin" even then also I am getting the output "You are Out" so please tell me where am i mistaking https://code.sololearn.com/cw6EIqwb1mua/?ref=app

22nd Dec 2020, 12:22 PM
MsM!67
1 Respuesta
+ 5
You can't compare strings using == in Java Simba has given a similar thread ... Learn this lesson : https://www.sololearn.com/learn/Java/2178/?ref=app
22nd Dec 2020, 12:29 PM
Alphin K Sajan
Alphin K Sajan - avatar