C++ programming. I need help creating a formula that will find the factors ofany
ID: 3609884 • Letter: C
Question
C++ programming. I need help creating a formula that will find the factors ofany given number. It needs to create a table with 5 columns andeach column needs to have a width of 11. The table needs to have aheading reading "The factors of (num) are"... and have anending statement "(num) has ___ factors" Desired output: The factors of 150 are1 2 3 5 6
10 15 25 30 50
75 150
150 has 12 factors C++ programming. I need help creating a formula that will find the factors ofany given number. It needs to create a table with 5 columns andeach column needs to have a width of 11. The table needs to have aheading reading "The factors of (num) are"... and have anending statement "(num) has ___ factors" Desired output: The factors of 150 are
1 2 3 5 6
10 15 25 30 50
75 150
150 has 12 factors