Question: q 1 ) Create a random integer array named X of size 9 by 5 where the integer ranges from 5 0 to 1 5

q1) Create a random integer array named X of size 9 by 5 where the integer ranges from 50 to 150(150 inclusive). Set the seed of the random generator to be 25. A-6.
q2) Using array X, print every third row and columns 5,1, and 3 in the given order.
q3)Print the third row of X in the reverse order.
q4) Use masking to print all elements of X less than or equal 100.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!