Hello
a structured array would be helpful too.
You can make logical group containing the pin information for the ADC and related LED. A subroutine==method has to handle this object and generate action on the result.
Have a nice day and enjoy coding on C++.