ajreuri23

שאלה 7

Oct 24th, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. int n, i;
  2. n = int.Parse(Console.ReadLine());
  3. for (i = 1; i < n; i++)
  4. {
  5. if (n % i == 0)
  6. Console.Write(i + " ");
Add Comment
Please, Sign In to add comment