Hey guys, our homework requires us to write the code to calculate the total resistance of a circuit for "n" number of resistors in parallel. My question is what kind of coding scheme is required for the "n" number of resistors which basically means "infinite" number of resistors? I know there is a while loop involved, however, I cannot seem to figure out how to make the program accept an infinite number of resistor values? Your help is greatly appreciated. Thanks.