Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a program that generates random numbers, store them in a 10 X 10 array, and find the average for each row, column, as

Create a program that generates random numbers, store them in a 10 X 10 array, and find the average for each

Create a program that generates random numbers, store them in a 10 X 10 array, and find the average for each row, column, as well as whole numbers. Section 1 Set a random number seed with 2 followed by the last 3 digits of your student ID. Section 2 Generate random numbers, each ranging from 0 to 9, and store them in a 10 X 10 array. Section 3 Calculate the average for each row, column and whole. Section 4 Show the result to the screen. Averages must show 2 digits below the decimal point. */ Output examples : C:\Windows\system32\cmd.exe 1 5 1 7 3 7 6 6 9 4 5 4 6 1 4 5 4 5 3 9 0 7 3 8 32 7 9 1 2 9 3 7 8 0 6 7 2 9 4 3 4 1 2 1 2 2 0 0 4 6 4.90 4.90 2.20 4.60 5.20 3.60 4.50 3.80 Press any key to continue 1 2 2 4 9 6 0 0 8 00 8 5 1 8 2 6 9 1 1 2 1 6 2 7 1 3 0 6 6 8 2 7 8 5 3 9 4 3 1 9 5.10 4 6 5 4 8 8 8 8 8 1 6.00 CO X 4.70 4.00 3.40 5.80 2.90 5.70 4.10 3.80 4.70 5.70 4.48

Step by Step Solution

3.44 Rating (151 Votes )

There are 3 Steps involved in it

Step: 1

To create a program that generates random numbers stores them in a 10x10 array calculates the averag... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managerial Decision Modeling Business Analytics With Spreadsheet

Authors: Nagraj Balakrishnan, Barry Render, Ralph Stair, Charles Munson

4th Edition

1501515101, 978-1501515101

More Books

Students also viewed these Programming questions