Hi I am in a c ++ class and I had a question. For homework I have to calculate the total resistance for an electrical circuit. The question is is that the resistances are arbitrary so there can be say 100 resistances in the circuit or say 15 resistances in the circuit. I have to ask the user to input how many resistances there are in the circuit and then from there, the program has to ask the user for all of the individual values of each of the resistances and then take the sum of all the resistances. How would I do that? Any help at all would be much appreciated. Thanks.