samedi 22 février 2020

Can I use an if statement as condition in another if statement in C? [closed]

Can I do that? I´ve searched for an answer, but I couldn´t found any. What I want to do is this:

if(a==5)
{
   printf("25");
}

if((if(a==5))==TRUE)
{
    printf("\n30");
}

Is this permissible in C?

Aucun commentaire:

Enregistrer un commentaire