+ 2
What is happening with this?
What is happening with this? He tells me complete the spaces in blank spaces to print from 1 to 15 on the screen. but if I put // while ($ i <= 15) { // echo $ i; // $ i ++; // what it prints will be up to 14 not until 15, because 15 is when it is conditioned false, the correct answer should be 16.
2 Réponses
+ 10
It will be 15 because you check for less or equal 15 and increment after print.
+ 1
Increment before printing, then it will work