hi im stuck.
lets say i have
int count =6;
and make and array of
float n[6]={1,2,3,4,5,6},total,average;
and i want it to add all the numbers up
How would i do this in a loop?
NOT this way
n[0]+n[1]+n[2]+.... then /count