Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int x,i,y;
- scanf("%d",&x);
- for(i=x;i<=x+11;i=i+2)
- {
- if(x%2==0)
- {
- y=i+1;
- }
- else
- {
- y=i;
- }
- printf("%d\n",y);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement