How to write a program use pointer on array that needs eleven numbers, compute their average and find out how many numbers are below the average?.

Recommended Answers

All 2 Replies

Uh we don't do homework without you showing effort. In fact, we don't do homework at all but I'd definitely be gladd to help or show you how if you can show me that you tried something or understand pointers/arrays.

  1. Declare an array
  2. Input 11 numbers or more using loop.
  3. Calculate the sum, using loop too.
  4. Divide it by total number of elements.
  5. Output the result.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.