i think what i was trying to do was take the contents in the array and add them together then / by 5 to get the average.
im trying to learn c so i am going to make alot of mistakes! and i did think it out before i coded it. but it didnt help =/
for ( x=0; x<5; x++ )
Array[x]= Array[x]+ Array[x]/5;
thanks for all your help.
int main(int argc, char *argv)
for ( x = 0; x < 5; x++ )
average += Array[x];
printf("average is %.2f\n",average/5);