Question: Write a script that calculates the common factors between 18 and 54. To find a common factor, you can use the modulo operator (%) to
Write a script that calculates the common factors between 18 and 54. To find a common factor, you can use the modulo operator (%) to check whether a number can be evenly divided into both numbers.
1. You will need a loop to complete this easily . Then, this script should print lines that display the common factors similar to this:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
