Hello,
I need to do 2 assignments in C language and im a newbie and I need someones help.
These are the assignments:
question 1: Write a program that contains a global array of 10 integers. The program contains the following functions: 1.function that absorbs the elements of the array
2. a function that returns the sum of the array elements.
3. a function that returns the maximum number.
4. A function that receives an integer and returns the number of occurrences of the resulting number.
5. A function that returns the average of the array elements.
Question 2: Write a program that contains a matrix of size N rows and M columns. (N and M should be set to #define) The program will do the following:
- Absorbs the elements of the matrix
- You'll find the amount of the external frame.
- You'll find the sum of each row separately
- Count the number of matrix elements in the field between 50 and 100.
I need help with doing both of them if you can help with that I will be very thankful.