reading multiple analog inputs

Yes, I understood that. By the code, it seems ok to me, but the schematic would help to understand what is going on. There's probably something floating...?

Kari