Blogger Information
Blog 15
fans 0
comment 0
visits 12600
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
99乘法加三角
峰回掠影的博客
Original
594 people have browsed it

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>Document</title>


</head>

<body>

<script type="text/javascript">

// 99*

var i =1;

for (i;i<=9;i++) {

for (var b=i;b<=9;b++) {

document.write(i+'x'+b+'='+(i*b)+'&nbsp;');

}

document.write('<br>');

}


//三角

// var i=1;

// var b='*';

// var c='*'

// while(i<20){

//  document.write(b+"<br>");

//  b=b+c;

//  i++;

// }


</script>



</body>

</html>


Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post