Advertisement
Guest User

talha

a guest
Oct 14th, 2019
79
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. int main()
  3. {
  4.     int n,i;
  5.     scanf("%d",&n);
  6.     for(i=1;i<=n;i++)
  7.     {
  8.         if(n%i==0)
  9.             printf("%d ",i);
  10.     }
  11. }
  12. // 03.no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement