Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 296 Bytes

012-the-factor-command.md

File metadata and controls

27 lines (16 loc) · 296 Bytes

012-the-factor-command.md

The factor command

The factor command prints the prime numbers of a given number.

Examples

  1. Print prime factors of a prime number
factor 50
  1. Print prime factors of a non-prime number
factor 75

Syntax:

factor [NUMBER]