Question: Create a program that: 1) prompts the user for three values. (You do not have to check for valid input type.) The values are: (1)-the

 Create a program that: 1) prompts the user for three values.
(You do not have to check for valid input type.) The values
are: (1)-the number of layers in the matrix (200) - the number

Create a program that: 1) prompts the user for three values. (You do not have to check for valid input type.) The values are: (1)-the number of layers in the matrix (200) - the number of rows in each layer (3) - the number of items (places) in each row The loop terminates when the user enters a zero as one or more of the inputs. (i.e. 203). 2) initializes the matrix (three dimensional array): create a function called Init Matrix() and place it in a file labeled Init Matrix.e using the code below for a random number generator fill the three dimensional array with random integers between 1 and 100 inclusive. 3) prints out the matrix (three dimensional array) create a function called PrintMatrix() and place it in a file labeled PrintMatrix.c label the Layer Number label the Row Number 4) once the user elects to end the program, print out FINISHED 5) create two (2) header files. one file labeled headers.h with the following contents: Hifndef HEADERS_N_INCLUDED #define HEADERS_H_INCLUDED #include #include #include #include "definitions.h" tendif // HEADERS_H_INCLUDED the other file is labeled definitions.h with the following contents: Hifndef DEFINITIONS_H_INCLUDED #define DEFINITIONS_H_INCLUDED void InitArray your parameter list here ); void printMatrix (your parameter list here ); tendit / DEFINITIONS_#_INCLUDED Note: All of your .c files will have the single include ONLY. #include "headers.h" Project One (1): Image Imagguilcompute-/private/coursesi (

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!