If statements vs else if statements. I am confused why the statement order gives different outputs. For

Posted Date: