let symbol = prompt('Введите символ:');
let squareLine = symbol.repeat(20)
let square = squareLine +
'\n' + squareLine +
'\n' + squareLine +
'\n' + squareLine +
'\n' + squareLine +
'\n' + squareLine +
'\n' + squareLine;
alert(square);