Conditional Operators – Zenva Academy

PHOTO EMBED

Wed Oct 23 2024 00:14:23 GMT+0000 (Coordinated Universal Time)

Saved by @r2ks

int age = 35;

if(age >= 30)
{
    if(age < 40)
    {
        Debug.Log("Age is in the thirties!");


    }
}
int age = 35;

if(age >= 30 && age < 40)
{
    Debug.Log("Age is in the thirties!");
}
content_copyCOPY

https://academy.zenva.com/lesson/conditional-operators-2/?zva_less_compl