Manipulating a 2D array: 1. Create a two dimensional array (e.g. int A2D [ M ][ N ] ;) of size M x N to store integer values. Use #define M 6 and N 5 to start. (Using symbolic constants instead of hard coding the array sizes improves scalability). 2. Populate the array pseudo-randomly, with integer numbers between 1 and M x N, inclusive, so that every array element is unique (no duplicates). 3. Print the array in a table format (use formatting codes to achieve this). 4. Use Linear Search to find if a number n is found in the array, where n is an integer between 1 and M x N (inclusive) entered by the user. 5. Apply a single LEFT shift operation to the array. LEFT shift means move every element one position to the LEFT; the first element becomes the last one, and the first element in each row moves up to become the last element in the previous row.
Example: Left shift of a 2 x 4 array: becomes: 4 8 3 2 8 3 2 5 5 6 1 7 6 1 7 4 6. Print the shifted array.
Summary of the lab requirements: You must create an interactive menu within main() for this program (call it Lab3.c) with choices to fill the array with random numbers, search the array, left shift the array, print the array and either repeat a menu item or quit.
11 freelancers are bidding on average $24 for this job
Hello, I am interested in this project and so wanted to discuss more about it in details. I sincerely hope that you will believe me and hire me. Thanks Relevant Skills and Experience a Proposed Milestones $30 CAD - a
I'm a senior year computer science student, I know C, C++, java and python, I can do this assignment for you in 1 day. Relevant Skills and Experience I've worked on many C assignments for clients on freelancer.