Promi_38

cf 705A

Jan 13th, 2021
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5.     int n;
  6.     scanf("%d", &n);
  7.    
  8.     printf("I hate ");
  9.     for(int i = 0; i < n - 1; i++)
  10.     {
  11.         if(i % 2 == 0) printf("that I love ");
  12.         else printf("that I hate ");
  13.     }
  14.     printf("it\n");
  15. }
Advertisement
Add Comment
Please, Sign In to add comment