Question: Implement a function getRandomNum(int min, int max) that takes two arguments, a min and a max integer. The function returns an integer which is a
Implement a function getRandomNum(int min, int max) that takes two arguments, a min and a max integer. The function returns an integer which is a random number between minimum (including minimum) and maximum (excluding maximum).
Ask the user to enter four integers and call the function twice. Multiply the result together and print out the result to the screen.
You can assume the seed is set to the integer 1.
Template for input/output
Enter first minimum number:
Enter first maximum number:
Enter second minimum number:
Enter second maximum number:
* =
Sample input/output (bolded is input, which do not show up on ZyBooks)
Enter first minimum number: 0
Enter first maximum number: 6
Enter second minimum number: 0
Enter second maximum number: 6
1 * 4 = 4

My output keeps coming out wrong? Need help here

include kiostream 2 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
