SHARE
TWEET

Untitled

a guest Oct 21st, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. int main()
  3. {
  4.   int N = 0, i = 0;
  5.   scanf("%d", &N);
  6.   for (i = 1; i <= 10000; ++i)
  7.     if (i%N == 2)
  8.       printf("%d\n", i);
  9.   return 0;
  10. }
RAW Paste Data
Top