Full Name Charles aka Romeo007 City/State/Country California, USA Name of Source Prime Factorization Info About the Source Good for understanding loops Language of Source C++ Platform of Source PC/Unix/Linux /// // By Romeo007 // #include void main() { int i, j, k, l, m; cout << "Please enter a natural number to get the factor: "; cin >> i; j = 2; cout << "The prime factors are: "; do { k = i / j; if (j*k == i ) //check if its a factor { cout << j << " "; i = k; //make the number to check smaller } else {j++;} } while (j <= i); }