here is my code below
System.out.printf("%nIs this information correct? 'Y' or 'N': ");
correct = stdin.next().charAt(0);
stdin.nextLine();
I am still new to this language and trying to clear the correct input from the Scanner stdin. Is there another way to do it?
Thank you.