Question: Create a random integer numbers that goes from 0 to 5 and assign it to a variable y using rand and round commands Hint: Note

Create a random integer numbers that goes from 0 to 5 and assign it to a variable y using rand and round commands Hint: Note that rand function only creates random number between 0 and 1. You need to scale the values to get random numbers from 0 to 5 (multiply by 5). You also need to round the generated random numbers to get an integer value. Use round command [5 points] a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
