analogRead() with 5 resistance sensors

bolbol:
but if i connet more than 2 sensors, each analog value was influenced by the others.

The Mega has only one ADC and it gets switched to the different analogue pins. That means that the first reading on a pin may be measuring the residue from the previous pin. A simple solution is to discard the first reading after changing to a new analogue pin.

...R