Question: In this exercise, you will generate 3 random numbers and find the lowest number - Remove all code added between the II Your lab exercise

In this exercise, you will generate 3 random numbers and find the lowest number - Remove all code added between the II Your lab exercise ... comment lines - Copy/paste the following between the comment lines int Num1,Num2,Num3,Low; srand(time(0)); II Generate a random numbes from 0 through 9 . Assign to Num1 aaa II Generate a random numbes from -2 through 11. Assign to Num2 bb II Generate a random numbes from 3 through 8 . Assign to Num3 cc II Display the numbers as shown in the example ddd II Using IF-ELSE, compare Num1 to Num2. Assign lowest number to Low eee II Using IF, compare Num3 to Low. Save lowest number to Low fff II Diplay the lowest number as shown in the example ggg - You may find these slides in Random Numbers.pptx helpful Range of random numbers - You may find these slides in Simple IF.pptx helpful IF statement example Integer Comparison Examples IF IF-ELSE statement example Integer Comparison Examples IF-ELSE - Click on Run. The program should compile successfully - RUN UNTIL YOU HAVE 3 DIFFERENT RSULTS WHERE THE LOWEST RANDOM NUMBER IS THE 1ST, 2ND, AND 3RD NUMBER OR YOU WILL LOSE POINTS - WARNING: FOR EACH RUN, ALL 3 NUMBERS MUST BE DIFFERENT OR YOU WILL LOSE POINTS - Although the random numbers will be different, the 3 Result panes should show like below - Take a screenshot of each My name is John Doe The date is 10-29-2022 10:14 Num1, Num2, Num 3 are 1113 The lowest number is 1 My name is John Doe The date is 10-29-2022 10:13 Num1, Num2, Num 3 are 226 The lowest number is 2 My name is John Doe The date is 10-29-2022 10:11 Num1, Num2, Num3 are 8105
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
