ill have an if statement
if (int1 < int2)
{}
else
{}
I want the else statement to run if both int1 and int2 are 0..
No. 0
is not less than 0
.
How about using an else if
statement?
if (int1 < int2)
{
}
else if (int1 == 0 && int2 == 0)
{
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With