const arr = [10, 5, 3, 15, 20, 25, 8, 30, 12, 9];let result = 1;
for(let i = 0; i < arr.length; i++) {if(arr[i] % 5 === 0 && arr[i] > 8) {result *= arr[i];}}
console.log(result); // Вывод: 1500
const arr = [10, 5, 3, 15, 20, 25, 8, 30, 12, 9];
let result = 1;
for(let i = 0; i < arr.length; i++) {
if(arr[i] % 5 === 0 && arr[i] > 8) {
result *= arr[i];
}
}
console.log(result); // Вывод: 1500