Question #37470

Exercise 3: Prime numbers
Write a program that prompts the user to enter two positive integers m and n where m < n then
output all prime numbers in the range m and n, inclusive. You must write a function that would test
a number whether it is prime.

Expert's answer

## Comments

## Leave a comment