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