Question: 1. In function main, seed the random number generator with time and prompt the user for lower and upper limits for random numbers to be
1. In function main, seed the random number generator with time and prompt the user for lower and upper limits for random numbers to be generated in the program Write a function randomNumber and call it three times to generate three random numbers in the range between the lower and upper limits entered. The function header might look something like this: int randomNumber(int lower, int upper) Call a second function to find the largest of the three random numbers. The function header might look something like this: int largest (int nl, int n2, int n3) Call a function printResults to print the three random numbers and the largest of the three. The function header might look something like this: void printResults (int nl, int n2, int n3, int max)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
