Question
Demonstrate knowledge of 2 dimensional arrays. You will use the salesRegions array from task 1. In this task you will initialize the salesRegions array with
Demonstrate knowledge of 2 dimensional arrays.
You will use the salesRegions array from task 1. In this task you will initialize the salesRegions array with the names of the sales team responsible for managing the sales for each region. The names will be stored in the 2nd, 3rd and 4th columns of the array. They are defined as follows:
For the "North" sales region the sales team member names are Bob, Will, Ed. For the "West" sales region, the sales team member names are Rob, Earl, Bill.
For the "East" sales region, the sales team member names are Mitch, Paul, Ralph. For the "South" sales region, the sales team names are Eddy, Hank, Rudy.
Display the contents of the array using a nested loop. The expected output should be:Using C#
unit3_task2
SalesRegions: North
Salesman: Bob
Salesman: Will
Salesman: ed
SalesRegions: West
Salesman: Rob
Salesman: Earl
Salesman: Bill
SalesRegions: East
Salesman: Mitch
Salesman: Paul
Salesman: Ralph
SalesRegions: South
Salesman: Eddy
Salesman: Hank
Salesman: Rudy
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started