Question: write two programs to solve the problems below when you...
Write two programs to solve the problems below. When you are done with your programs, zip up the project folders and submit to Moodle. 1. Write a program that allows the user to enter a positive integer and displays a list of the factors of that integer. Factors are those numbers that evenly divide a number, for example the factors of 12 are 1, 2, 3, 4, 6, and 12. If the user enters zero or a negative number, the program should request the user to enter a new number. As an extra challenge, you can have your program loop until the user no longer wants to 2. Write a program that allows the user to enter a set of positive numbers between 1 and 100 and displays the smallest and largest of the numbers entered. The program should not store the numbers that were entered, only keep track of the smallest and largest ones. The program should continue accepting numbers until the value 0 is entered
in c++ programming , thank you.