<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>九九</title>
</head>
<body>
<script>
var i = 0;
var j = 0;
var k;
while (j < 9) {
document.write("</br>");
j++;
i = 0;
while (i < 9) {
i++;
k = j * i
if ( k <= 9 ) {
document.write( i + '✕' + j + '=' + '0' + k + ' ' );
}else {
document.write( i + '✕' + j + '=' + k + ' ');
}
}
}
</script>
</body>
</html>
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme