All together now!


Here is my code:

        // Write your if/elseif/else statement here!
        $Trumps = 1000000;
        if($Trumps > 10){
            echo "I'm really rich. And you're fired!"
        else {
            echo "i got a small loan of a million dollars..."

It throws the error: Oops, try again. It looks like you didn't print anything!
Thanks already


You have to add semicolon after the echo statements.

Is it this exercise -> If so, you should print out "The condition is false".


or maybe you were required to put an 'else-if ' statement before the 'else'


Thanks a lot for the answer


You're very welcome.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.