so lets say we have a 12 digit number for example 192837401928

i ve made a code that could calculate prime factors but i cant make it calculate prime factors for such big numbers

for example

thanksCode:#include <stdio.h> int main(){ unsigned long i,y,k; for (i=1;i<=1000000;i++){ y=0; for (k=2;k<i;k++){ if (i%k!=0){ y = y+1; } } if (y==i-2){ if (1000000%i==0){ printf("prime factor: %lu\n",i); } } } getchar(); return 0; }