var sayi1=prompt("Sayı Giriniz") if (sayi1 % 2 == 0) { alert("sayısı çifttir."); } else { alert("sayısı tektir."); }