0
Break and continue Many tall buildings, including hotels, skip the number 13 when numbering floors - often going from floor 12 t
var countOfRooms = 15; for (var i = 1; i <= countOfRooms; i++) { if (i === 13) continue; // Skip room number 13 console.log(i); }
1 ответ
+ 2
what's your question?
this shows all whole numbers between 1 and 15 excluding 13