where is mistake im crying......................................
milanam0ld0va (0)

using System;
class HelloWorld {
static void Main() {
int a=Convert.ToInt32(Console.ReadLine());
int b=Convert.ToInt32(Console.ReadLine());
int c=Convert.ToInt32(Console.ReadLine());
if ((a%2==0) | (b%2==0) | (c%2==0)) & ((a%2==1) | (b%2==1) | (c%2==1))
{
Console.WriteLine("YES");
}
else
{
Console.WriteLine("NO");
}

}

You are viewing a single comment. View All
mwilki7 (283)

You are using bitwise AND & instead of logical AND &&
Just change any single & to double &&
https://www.tutlane.com/tutorial/csharp/csharp-logical-operators-with-examples