random numbers

i need help writing a program that display two random numbers being added to each other. when the user is ready and has worked out the problem. the user will simply press enter to see the answer. can some help me? oh and also i have to limit the range

Last edited on
See:

http://www.cplusplus.com/reference/cstdlib/rand/?kw=rand

The example should give you an idea how to proceed
Topic archived. No new replies allowed.