C++ help, function, for loop, | SoloLearn: Learn to code for FREE!


C++ help, function, for loop,

Hello, please help handle the following program, it's supposed to take a number and check whether it's a prime number or not and print all factors also. Thank you. https://code.sololearn.com/c4hu7Txhjpad/#cpp

11/11/2017 11:04:56 AM

Dariyoush Shiri

2 Answers

New Answer


Thank you. apart from the output, how can I find all factors of a number?