document.querySelector('#task-4').onclick = function () {
let num = document.querySelector('#num-4').value;
num = parseInt(num);
if (!isNaN(num)) {
for (let i = 1; i <= 99; i++) {
console.log(`${i}*${num}=${i * num}`);
}
}
}