random prime number

i am just started with c++ now stuff are getting a little more harder and i just can do this simple thing.

i need to ask the user for two prime numbers and generate a third prime number that is between those numbers

Topic archived. No new replies allowed.