Facebook
From Rude Peafowl, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 67
  1. Question link (https://www.beecrowd.com.br/judge/en/runs/code/31733667)
  2.  
  3. Solve :
  4.  
  5. #include<stdio.h>
  6. int main()
  7. {
  8.     int x,y,i=1;
  9.     scanf("%d",&x);
  10.     y = x+12;
  11.  
  12.     while (i<=y&&x%2==0)
  13.     {
  14.         if (x<i&&i%2==1&&i<y)
  15.         {
  16.             printf("%d\n",i);
  17.         }
  18.         i++;
  19.     }
  20.     return 0;
  21. }
  22.