#include <stdio.h>
main()
{
int sayi;
printf("Bir Sayi Giriniz : ");
scanf("%d",&sayi);
if(sayi%2==1)
{
printf("\n%d sayisi tektir",sayi);
}
if(sayi%2==0)
{
printf("\n%d sayisi cifttir",sayi);
}
}
![](https://kodisyum.com/wp-content/uploads/2022/11/ornek_1_tek_cift-1.jpg)
#include <stdio.h>
main()
{
int sayi;
printf("Bir Sayi Giriniz : ");
scanf("%d",&sayi);
if(sayi%2==1)
{
printf("\n%d sayisi tektir",sayi);
}
if(sayi%2==0)
{
printf("\n%d sayisi cifttir",sayi);
}
}