to print these numbers using for loop 30 33 39 | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

to print these numbers using for loop 30 33 39

this is sample question for me

5th Oct 2016, 8:09 AM
Vengateshwaran Sivakumar
Vengateshwaran Sivakumar - avatar
4 Antworten
+ 1
please describe this code detailed... having some error on this cose
6th Oct 2016, 4:54 AM
Vengateshwaran Sivakumar
Vengateshwaran Sivakumar - avatar
+ 1
error syntax error,unexpected'[',Expecting ",or on line 3
6th Oct 2016, 4:55 AM
Vengateshwaran Sivakumar
Vengateshwaran Sivakumar - avatar
0
$numb = array(30,33,39); for($i=0;$i<4;$i++) echo numb[$i]." "; // $numb != numb fail
5th Oct 2016, 8:41 PM
Jônatas Araripe
Jônatas Araripe - avatar
0
Sorry! <?php $numb = array(30,33,39); for($i=0;$i<4;$i++) echo $numb[$i]." "; ?>
6th Oct 2016, 3:32 PM
Jônatas Araripe
Jônatas Araripe - avatar