Write a c++ program using while loops that prompts for a positive integer and prints the factors of all integers from 1 to that input integer. For example, if the user enters the integer 6 then the program will
output: 1: 1 2: 1, 2 3: 1, 3 4: 1, 2, 4 5: 1, 5 6: 1, 2, 3, 6
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here