Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 464 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 464 Bytes

MASM Prime Number Generator

Description

This program calculates and displays the number of prime numbers specified by the user. It prompts the user to enter the number of primes to display in the range [1 .. 200]. It then verifies that 1 <= n <= 200. If n is out of range, the user is re-prompted until the value entered is in range. Finally, it calculates and displays the all of the primes up to and including the nth prime.

Environment: VS 2012