Question: s Write a program which generates 3 random numbers between 1 and 50 inclusive. Display the 3 random numbers and the largest value of the
s
Write a program which generates 3 random numbers between 1 and 50 inclusive. Display the 3 random numbers and the largest value of the 3 numbers. Use one decision control structure. Be sure to allow for duplicates. Examples of the program running are shown below Output LabProject (run) X un The 3 random values are, 28, 23, 15 The largest number is 28 BUILD SUCCESSEUL (total time: 0 seconds) ! Output LabProject (run) X zun: The 3 random values are, 45, , 30 The largest number is 45 BUILD SUCCESSEUL (total time: 0 seconds)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
