Home > front end >  Which bosses know write the pictures come out in the for loop
Which bosses know write the pictures come out in the for loop

Time:11-30

- * -- -- -- -- -- -- -- -- - * - * -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- - * * * - * * * -- -- -- -- -- -- -- --
* * *- * * * * * - * * * * * - * * * * * -- -- --
- * * * * * * * - * * * * * * * - * * * * * * * --
* * * * * * * * * - * * * * * * * * * - * * - * * * * * * *
- * * * * * - * * * * * - * * * * * -- -- --
- * * * * * - * * * * * - * * * * * -- -- --
- * * * * * - * * * * * - * * * * * -- -- --
- * * * * * - * * * * * - * * * * * -- -- --
Give a train of thought

CodePudding user response:

 


<meta charset="utf-8" & gt;


<body>
 
<script type="text/javascript">
For (var a=1; A. & lt;=5; {+)
For (var b=1; B & lt;=3; B++) {
For (var c=1; C & lt;=5 - a; C + +) {
Document. The write (' - ');
}
For (var c=1; C & lt;=a * 2-1; C + +) {
Document. The write (' * ');
}
For (var c=1; C & lt;=6 - a; C + +) {
Document. The write (' - ');
}
}
Document. The write (' \ n ');
}
For (var a=1; A. & lt;=4; {+)
For (var b=1; B & lt;=3; B++) {
For (var c=1; C & lt;=2; C + +) {
Document. The write (' - ');
}
For (var c=1; C & lt;=5; C + +) {
Document. The write (' * ');
}
For (var c=1; C & lt;=3; C + +) {
Document. The write (' - ');
}
}
Document. The write (' \ n ');
}
</script>



  • Related