this is not working and I cannot figure out why
(这是行不通的,我不知道为什么)
do {
System.out.println("enter your work email");
workEmail = scnr.nextLine();
if (workEmail.substring(workEmail.length() - 4) != ".") {
System.out.println("Please enter a valid email. example: [email protected]");
}
} while (workEmail.substring(workEmail.length() - 4) != ".");
ask by jackspurrrr translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…