I'm writing a program were I have to give the user the option of starting again.........so I ask 'Would you like to add more votes (y/n)?' then I scan for the answer using the line :
'another = scan.nextLine();'
The program compiles ok but when i run it. the program goes from start to end then straight to the start again. it ask the question but it doesn't wait for the answer or is unable to scan it.
Can any of the gurus in here help me please???