function printNumbersWithStep(N, step) { for (let i = 1; i <= N; i += step) { console.log(i); } } //printNumbersWithStep(7, 3) printNumbersWithStep(7, .8)