Bob Cowdery <bob at bobcowdery.plus.com> wrote: > x_points[] > =(x_average[0]+x_average[1]+x_average[2]+x_average[3]+x_average[4]+x_average[5]+ > x_average[6]+x_average[7]+x_average[8]+x_average[9])/10; > > The average gives me a compile error of incompatible types. You need to append [] to x_average[index]. -- Simen