diff --git a/07/c/5 - Finding Factors.py b/07/c/5 - Finding Factors.py new file mode 100644 index 0000000..f0a5add --- /dev/null +++ b/07/c/5 - Finding Factors.py @@ -0,0 +1,4 @@ +n = int(input()) +for i in range(1, n + 1): + if n%i == 0: + print(i, "times", n//i, "equals", n)