Having trouble on solving the following tasks

tuxduino:
You "need" a for loop to scan the table rows, so you don't have to copy-n-paste if() blocks changing only the row index.

(edit: didn't see PaulS's reply before posting :stuck_out_tongue: )

I am about to pull my hair out...using a for loop is a complete disaster...whats the point of using this method: -

  for(int i; i<rows; i++)
  {
   if (Table[i+1][1] && Table[i][1])
   {
     Serial.println(Table[i][0]);
     delay(100);
   }
  }

Output:

Value = 647.00	 Voltage = 3.16 V	 Resistance = 5802.47 Ohm
25
26
27
28
29
30
31
32
33
Value = 647.00	 Voltage = 3.16 V	 Resistance = 5802.47 Ohm
25
26
27
28
29
30
31
32
33
Value = 648.00	 Voltage = 3.17 V	 Resistance = 5778.12 Ohm