Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int a;
- scanf("%d",&a);
- if (a==0)
- {printf ("This is %d.It is Zero\n",a);}
- else if (a%2==0){
- printf("This is %d .It is even Number",a);
- }
- else if(a%2==1){
- printf ( " This is %d .It is odd Number");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement