I am using rand() to generate a random number and display it in the context of an arithmetic problem. I get the same two numbers everytime. How do I make these different each time?
#include <iostream>
#include<cstdlib>
using namespace std;
int main()
{
    int numberOne = rand()%1000;
    int numberTwo = rand()%1000;
    int numberThree = numberOne + numberTwo;
    char input;
    cout  << " " << numberOne << endl;
    cout <<  "+" << numberTwo << endl;
    cout << "----";
    cin.get();
    cout << numberThree << endl;
}
 
     
    