-
Notifications
You must be signed in to change notification settings - Fork 0
A for-loop is iterated from i = 2 to i < n/2 . If n is perfectly divisible by i , n is not a prime number. In this case, flag is set to 1, and the loop is terminated using the break statement.
gameywinehouse/prime_checker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A for-loop is iterated from i = 2 to i < n/2 . If n is perfectly divisible by i , n is not a prime number. In this case, flag is set to 1, and the loop is terminated using the break statement.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published