There are 4 numbered instructions in the code, along with
comments that should help you to make changes.
//CHALLENGE #3 Change the code below to say WOW if at least 1 coin is heads (1, not 0)
// You only need to change the conditions.
if (( coin1 !=3 ) && ( coin2 >= 4)){
System.out.println("WOW! At least one coin is heads");
} else {
System.out.println("neither coin is heads");
}
//CHALLENGE #4 Change the code below to say WOW if both coins are heads
// You only need to change the conditions.
if (( coin1 != 1) || (coin2 <= 3)){
System.out.println("WOW! Both coins are Heads!");
} else {
System.out.println("No matches");
}
}
}
}