Сделал таск 5

parent 9fb69247
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task 5</title>
</head>
<body>
<script>
const userAnswer = prompt('Введите символ')
let result = ''
for(let i = 0; i < 7; i++) {
for(let j = 0; j < 20; j++) {
result += userAnswer
}
result += '\n'
}
alert(result)
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment