[Solved] C++ Compute prime factors of a number and print them
[ad_1] So the biggest issue is that there is a missing brace at the end of your factors function. you need to add another brace after the if (n > 1) brace. Also, there is a missing semicolon at the end of the last cout that will throw an error. Another issue that won’t prevent … Read more