Question: please write a code for section 1 and 2 using array and please make sure to write in 1 c program not 2, both section
unavailable after this time. All your programs must include a Programmer's Block and an explainProg function. Format for the Programmer's Block: Description: Programmer: Date: Version: Output of all programs must be included with your code. 1. Write a C - program with a user-defined function that fills the left-to-right diagonal of a square matrix (a twodimensional array with an equal number of rows and columns - 6 ) with zeros, the lower left triangle with 1s, and the upper right triangle with +1 s. Your program should produce the following result with an appropriate statement. 2. Add three separate user - defined functions (using arrays) to your program of question 1 , to find the sum of each row and each column of the following matrix. Print out the original array and the results with appropriate statements. The array must be initialized in 1 function and then passed to the sum of rows function and then to the sum of columns function. 1021303950 1533411042 1618642012
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
