Added an example usage.

This commit is contained in:
Nicolás Ortega Froysa 2020-05-10 14:07:41 +02:00
parent 6ab76a1e9b
commit 324feeed77

6
README
View File

@ -9,6 +9,12 @@ prime or not.
You just need UNIX Make and a C99 compiler (preferably GCC). Then run You just need UNIX Make and a C99 compiler (preferably GCC). Then run
`make`. `make`.
# Example
---------
This program is small and meant to be used in scripts. For example:
isprime 995699 && echo "It's prime."
# License # License
--------- ---------
This project is licensed under the GNU General Publice License version 3 This project is licensed under the GNU General Publice License version 3