Answer:
void doOneSet(){
int number1, number2;
for (int i = 0; i < 5; i++){
number1 = rand() % 101;
number2 = rand() % 101;
cout << number1 << " + " << number2 << " = " << endl;
}
}
Step-by-step explanation:
Create a function called doOneSet that takes no parameter
Declare two numbers that will be used as operands
Create a for loop that iterates five times. Inside the loop, produce two random numbers between 0 and 100 in each iteration using rand(). Print the numbers with "+" between them in each iteration to get the required output.