1-12 oralig‘idagi oy raqamini kiriting va faslni bilib oling!
let son = parseInt(document.getElementById("monthInput").value); const switchObj = { 1: ____?____, 2: 'Qish', 3: ____?____, 4: 'Bahor', 5: 'Bahor', 6: 'Yoz', 7: 'Yoz', 8: 'Yoz', 9: 'Kuz', 10: 'Kuz', 11: 'Kuz', 12: 'Qish' }; let result = switchObj[son] || "Bunday oy raqami yo'q!"; document.getElementById("result").textContent = "Fasl: " + result;