sandra0309

vezba10

Dec 7th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include<stdio.h>
  2. //deliteli
  3. int main ()
  4. { int i,n;
  5. scanf("%d",&n);
  6. i=1;
  7. while(i<=n)
  8. {
  9.  if (n%i==0)
  10.  {
  11.  printf("%d",i);
  12.  }
  13.  i++;
  14. }
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment