int main()
{
int n;
printf("please insert a number:");
scanf("%d",&n);
if(n%2==0)
printf("it is even");
else printf("it is odd");
getch();
}
{
int n;
printf("please insert a number:");
scanf("%d",&n);
if(n%2==0)
printf("it is even");
else printf("it is odd");
getch();
}
هیچ نظری موجود نیست:
ارسال یک نظر