I am doing arrays and I need to print the total numbers of arrays are less than the average of all the arrays. It should be simple, but I have no idea how to do it.
Any help?
Printable View
I am doing arrays and I need to print the total numbers of arrays are less than the average of all the arrays. It should be simple, but I have no idea how to do it.
Any help?
If you want help, you'll have to provide an SSCCE that demonstrates where you're stuck.
What have you tried? How would you do this without a computer? Think about how you would do it "in real life" if you were handed a stack of index cards with numbers on them and you had to count how many were less than their average.
I am a little bit confused. Will you be comparing one array to another?