Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use C# Write a program that will create a 3 5 matrix containing integer numbers between 1 0 and 9 0 . The numbers

Please use C#
Write a program that will create a 35 matrix containing integer numbers between 10 and 90.
The numbers of the matrix will be taken from the following method:
Return type: two dimensional integer array
Method name: SetNumbers
Parameters: No parameter
The elements of the matrix will be displayed by the following method:
Return type: will not return a value
Method name: DisplayTheMatrix
Parameters: single parameter: two dimensional integer array
The following method will sort the elements of each row in ascending order:
Return type: will not return a value
Method name: SortRows
Parameters: single parameter: two dimensional integer array
After sorting the elements of each row re-display the matrix using "DisplayTheMatrix" method
OUTPUT EXAMPLES
C: Windows ??? s...
C: ||| Windows ||| s...
The numbers of 35 matrix:
ROW: 69,26,63,16,80
ROW: 23,87,89,60,13
ROW: 29,68,22,27,32
The sorted numbers of each row:
ROW: 1626,63,69,80
ROW: 13,23,60,87,89
ROW: 22,27,29,32,68
The numbers of 35 matrix:
ROW: 16,73,15,41,10
ROW: 70,66,40,11,34
ROW: 45,77,73,56,51
The sorted numbers of each row:
ROW: 10,15,16,41,73
ROW: 11,34,40,66,70
ROW: 45,51,56,73,77
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

8. Identify challenges of intercultural marriages.

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago