Examining Prime Numbers: Two Programs

Authors

George Repicky

Publication

Publication Details

Volume: 1 Issue: 5

Date

September/October 1981

Pages

34-35
See all articles from SYNC v1 n5

The first of the two programs below tests a set of numbers to see which members of the set are primes. The program asks for (and enters with INPUT statements) the beginning and the end of the set and displays those numbers in the chosen set which are primes.

Products

 

Downloadable Media

 
Scroll to Top