I have this code.
String anun=sc.nextLine(); System.out.println("age:"); int tar=sc.nextInt(); System.out.println("email:"); String mail=sc.nextLine(); System.out.println(mail); System.out.println("email:" + mail); And always, when it's time for String mail=sc.nextLine(); just skip step. What is the problem?