programmerC++ 0 Newbie Poster

I need to write a program that will ust the rand() function that will generate pseudorandom numbers between 1 and 10. Using a loop,the program should prompt the user for a value until the correct number is enhtered.