I've just started learning programming. I'm studying for loops but
this program does not work as expected. I want to break the loop when
$a
is equal to 3
so that I get the output 1 2
but I get 3
as output :(
for($a=0;$a<10;++$a)
{
if($a==3)
break
print"$a ";
}
Lütfen yardım edin.