I am trying to create an application that gives points to a certain item if the user answers in a certain way:
if (question1 == "Red" || "Green"){
Apple++;
}
Will this setup give the variable apple- which is set to 0- 1 point? I have tried this and it will not work for some reason.