Recent content by JackCrow

  1. J

    C/C++ Is there an efficient way to find divisors of large numbers using C++?

    Heres the code :D Heres the code, enjoy :D #include <stdio.h> #include <conio.h> int main() { long int n, d=2; printf("Enter the number:"); scanf("%d", &n); printf("\n\n The divisor(s) : { 1 "); while(d<= n/2) { if(n%d==0) printf("%d ", d); d++; } printf("%d } \n"...
Back
Top