loading...

[Code Snippet] Printing prime factors of a number. Demo included.

csmyujinkim profile image csm-yujinkim ・1 min read

Print all prime factors of a number without duplication. In this example, each factor is printed in each successive line. The included demo provides examples for numbers [2-31].

Discussion

markdown guide