Kod Yığını:<?php $sayi=$_POST['sayi']; if ($sayi % 2 == 0 ) { $sonuc="Çift Sayıdır."; } else { $sonuc="Tek Sayıdır."; } ?>