Which of the following is the correct syntax for a while statement? can you provide your stand of choice. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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