Question: Write a program that generates a 98 matrix (or table) with random values. Use a double-subscripted array to represent your matrix. Then randomly generate 72

Write a program that generates a 98 matrix (or table) with random values. Use a double-subscripted array to represent your matrix. Then randomly generate 72 numbers ranged in 0-99 and assign them to each element. Finally, output data as follows (there are 2 spaces between two values and right justified):
The matrix data are:
6844 460 12 54 23 8
74 97 24 67 90 78 9 67

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!