<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script type="text/javascript">

for(var i=0;i<6;i++){
for(var k=0;k<6-i-1;k++){
document.writeln(" ");
}
for(var j=0;j<=(2*i-1)+1;j++){
document.writeln("*");
}
document.writeln("<br/>");
}


</script>

</head>

//居中
<body style="text-align: center;">
</body>
</html>

相关文章:

  • 2021-04-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2018-12-03
猜你喜欢
  • 2022-12-23
  • 2021-04-20
  • 2021-10-12
  • 2021-03-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案