0
What is the output of this code?
$a=0; $b=0; for ($i=0; $i<5; $i++) { $a+=10; $b+=5; } echo(ā$a$bā);
2 Answers
+ 1
Loop runs 5 times so
$a = 50
$b = 25
so output : 5025
0
Thanksššššš
$a=0; $b=0; for ($i=0; $i<5; $i++) { $a+=10; $b+=5; } echo(ā$a$bā);