I am new to javascript and am writing a guessing game code and the else if statement is underlined the code is
if (guess == random) {
System.out.println("Correct the number is "+random);
} else if (guess < random);{
System.out.println("Lower");
} else if (guess > random);{
System.out.println("higher");
}
Aucun commentaire:
Enregistrer un commentaire