Question: Challenge Activity 2.19.2 begin{tabular}{l|l} CHALLENGE & 2.19.2: Random numbers. ACTIVITY & end{tabular} 454534.3102352.q3zqy7 Jump to level 1 Given integer variables seedVal and highestInput, generate
Challenge Activity 2.19.2

\begin{tabular}{l|l} CHALLENGE & 2.19.2: Random numbers. \\ ACTIVITY & \end{tabular} 454534.3102352.q3zqy7 Jump to level 1 Given integer variables seedVal and highestInput, generate two random numbers that are less than highestlnput and greater than or equal to 0 . Each number generated is output. Lastly, the average of the two numbers is output. Ex: If highest Input is 17 , then a possible output is: 2 9 Average: 5.5 Note: The input seeds are large integers that approximately equal the time in seconds since January 1, 1970
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
