Scanner in = new Scanner(System.in);String In = in.next();if (In.equals ("yes") & (In.equals ("yes"){
/that's the method i tried that if they type Yes with caps and yes without it will still count and it does not work./
Do this } else{ Do this }
Aucun commentaire:
Enregistrer un commentaire