Thread: I need some help plz with my homework

  1. #1
    Registered User
    Join Date
    Nov 2018
    Posts
    1

    I need some help plz with my homework

    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.

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help with my C++ homework
    By sdoyle in forum C++ Programming
    Replies: 4
    Last Post: 11-18-2013, 07:23 PM
  2. C Homework
    By Cesia in forum C Programming
    Replies: 29
    Last Post: 12-19-2011, 08:44 PM
  3. C homework
    By bringit in forum C Programming
    Replies: 1
    Last Post: 12-17-2011, 01:28 PM
  4. Homework Help
    By xxdustinxx in forum C Programming
    Replies: 14
    Last Post: 11-29-2011, 09:38 AM
  5. Homework?
    By Cloud6 in forum C++ Programming
    Replies: 19
    Last Post: 07-13-2006, 07:51 PM

Tags for this Thread