When I run the Javac, it tells me that i have an incomparable data types char and String in the
while(responseChar == \"y\")
not sure what
Optionally you could use the big C Character class to convert your char to a String:
Character
char
String
String converted = Character.toString(responseChar); while(converted.equalsIgnoreCase("y")) { // ... }
But this version is much more verbose than the literal comparison suggested by Jeffrey