vendredi 30 octobre 2015

Why is this if statement returning false every time?

I have a piece of code. It is returning false every time, despite the fact that condition is true. Where am I wrong?

$a = 5;
$b = 10;
$c = 15;

if( ($c > $b) > $a){
    echo "yes";
} else {
    echo "no";
}

Aucun commentaire:

Enregistrer un commentaire