Ayup. That's correct.
Type: Posts; User: PhHein
Ayup. That's correct.
[-X
No problems. And even if you were doing her assignments, she's likely to fail sooner or later. Anyway, have fun coding and feel free to ask questions.
Just noticed, don't
System.out.print("A. San Diego\n");
but
System.out.println("A. San Diego");
System.out.println(); // <------------- empty line aka line feed
I'd use a String for the input and use equalsIgnoreCase() to check the answer. You are using C which is an undeclared variable.
Basically it works like this:
System.out.print ("Enter your...