In fact, compared with whlie, we prefer to use for. here we have practiced table forms. Take a look at GIF dynamics. By the way, there are no new knowledge points, so there is no comment in the code. new friends don't know where to ask. let's start learning php ~~ Reprinted, please specify the source :#
I think blog posts are useful. please like them. please comment. please pay attention to them. thank you !~
In fact, compared with whlie, we prefer to use for. here we have practiced table forms. Let's take a look at the GIF dynamics. By the way, let's take a look at the code:
There are no new knowledge points, so there is no comment in the code. new friends don't know where to ask, so let's start learning php ~~
"; $ I ++; if ($ I> 10) {break ;}} ************* * ************/echo"
"; Echo"
Iwanghang
"; $ I = 0; while ($ I <10) {echo"
| {$ I} |
"; $ I ++;} echo"
"; ************* * ************/Echo"
"; Echo"
Iwanghang
"; $ I = 0; while ($ I <100) {if ($ I % 10 = 0) {echo"
";} Echo"
| {$ I} | "; $ I ++; if ($ I % 10 = 0) {echo"
";}} Echo"
"; ************* * ************/$ I = 0; while ($ I <10) {echo "#"; $ I ++;} echo"
"; ************* * ************/Echo"
"; Echo"
Whlie exercises
"; $ I = 0; while ($ I <10) {$ j = 0; if ($ I % 2 = 0) {echo'
';} Else {echo'
';} While ($ j <10) {echo"
| $ J | "; $ J ++;} $ I ++;} echo"
";
The above is the content for Android programmers to learn PHP development (14)-whlie exercises-PhpStorm. For more information, please follow the PHP Chinese website (www.php1.cn )!