fork download
  1. #include<stdio.h>
  2.  
  3. void main()
  4. {
  5. int i,n,a;
  6. printf("n=");
  7. scanf("%d",&n);
  8. printf("Divisors of %d is :\n\n",n);
  9. for(i=1;i<=n;i++){
  10. if(n%i==0)
  11. printf("%d\t",i);
  12. }
  13. }
  14.  
Runtime error #stdin #stdout 3.4s 2172KB
stdin
Standard input is empty
stdout
n=Divisors of 1432665677 is :

1	1432665677