Anik_Akash

3 no q

Oct 28th, 2020
835
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5.     int x=13656, y;
  6.     int first_part=0, mid_part=0, last_part=0;
  7.  
  8.     first_part = 20000-x;
  9.  
  10.     int i, even=0;
  11.  
  12.     for(i=x+2; i<20000; i+=2)
  13.     {
  14.         even++;
  15.     }
  16.     mid_part = even;
  17.     y = x%100;
  18.     last_part = x+y;
  19.  
  20.     printf("%d-",first_part);
  21.     printf("%d-",mid_part);
  22.     printf("%d\n",last_part);
  23.     return 0;
  24. }
  25.  
RAW Paste Data