Write a program that asks the user to enter two integers. Without calling any functions, the program finds and prints ou
Posted: Tue Jul 12, 2022 8:09 am
Write a program that asks the user to enter two integers. Without calling any functions, the program finds and prints out all the common factors of the two integers. A common factor is a number that both integers are divisibly by. Hint: find the factors of the smaller integer; for each factor, check if it's also a factor of the larger integer.