Hello, I have no clue why it won't change but I rewrote some of the code. Now it's bypassing the if and going straight to else.. no idea again why that is because it's not set up that way.
Now...
Type: Posts; User: Jad3dFox
Hello, I have no clue why it won't change but I rewrote some of the code. Now it's bypassing the if and going straight to else.. no idea again why that is because it's not set up that way.
Now...
Good point, theAnswer variable is not changing from hond to kat, i'm not sure why that is as theAnswer is initialized before the if statements..
Enter answers:
hond
hond
Well done! You are...
Hello there,
import java.util.Scanner;
public class Dutch {
public static void main(String[] args)
{
Hello forum, new here and a beginner to java. I have a small program with input, output and a switch statement.
What I need, is for the program to take in answers and compare them to the...