Reputation: 85
int UserA;
Console.WriteLine("What is 5 + 5");
UserA = Convert.ToInt32(Console.ReadLine());
if(UserA == 10) {
Console.WriteLine("Correct!");
} else if(UserA == 9 || 11 ) {
}
Why am I not able to use the OR
operand here. I know its simple but I am quite stuck.
Upvotes: 0
Views: 1156