I encountered a problem today when I was trying to simplify my code by using array names as a variable in loops, but the compiler keeps telling me that the variable(array name) is a char, not an array, so how do I fix this to implement my question title? p.s I know there are still many things to fix with the code below, but I just want to present an example about the following of using array names as a variable in loops:I encountered a problem today when I was trying