구구단 스크립트~ 정보
구구단 스크립트~![](http://sir.kr/data/member_image/ko/koreacpt.gif?1346259970)
본문
강좌보고 한번써봐요
<table border=1 height=200>
<tr>
<td bgcolor=#666666>
<script>
var a = prompt("출력하고자 하는 99단을 입력하세요");
for(i=1; i<=9; i++){
b = a * i;
document.write(a + " X " + i +" = " + b);
document.write("<br>");
}
</script>
</td>
</tr>
</table>
<table border=1 height=200>
<tr>
<td bgcolor=#666666>
<script>
var a = prompt("출력하고자 하는 99단을 입력하세요");
for(i=1; i<=9; i++){
b = a * i;
document.write(a + " X " + i +" = " + b);
document.write("<br>");
}
</script>
</td>
</tr>
</table>
추천
0
0
댓글 0개