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