0

Which of the following is the correct syntax for a while statement? can you provide your stand of choice.

Which of the following is the correct syntax for a while statement? Then, provide your stand of choice. a. while ($1 <= 5, ++$i){ $echo "<p>I</p>"; } b. while ($i <= 5){ $echo "<p>$i</p>"; ++$i; } c. while ($i <= 5){ $echo "<p>$i</p>"; ++$i: } d. while ($i <= 5; echo "<p>$i</p>"); ++$i; }

20th Apr 2021, 1:33 PM
andeng
4 Respostas
20th Apr 2021, 1:48 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
A little problem still, variable <$i> is undefined, and $echo is unrecognisable command.
20th Apr 2021, 2:00 PM
Ipang
0
How?
20th Apr 2021, 2:02 PM
andeng
0
CarrieForle? Can you provide your stand?
20th Apr 2021, 2:07 PM
andeng