reading information from sd card

The valid index values for an array of three elements are 0, 1, and 2.

on the for loop I just use 0, 1 and 2 "array2" is the name of the array.

We'd need to see ALL of your code AND your serial output.

this is all of my code, I need to put the values stored in "value" on an array of 3, find the minimum value between them and then store another 3 to compare them.