You've got a bug in your code on the line the compiler complains at, line 11:
ans = sc.next()charAt(0);
You're missing something there -- look carefully at that line, including every...
Type: Posts; User: curmudgeon
You've got a bug in your code on the line the compiler complains at, line 11:
ans = sc.next()charAt(0);
You're missing something there -- look carefully at that line, including every...