C Programming Code Examples C > Miscellaneous Code Examples Program to Find equivalent resistance of Parallel combination of resistive circuits Program to Find equivalent resistance of Parallel combination of resistive circuits #include<stdio.h> int main() { int r[10], j, x, Rs = 0; printf("Enter the number of Resistances : "); scanf("%d", &j); printf("\nEnter Value of Each Resistance : n"); for (x = 0; x < j; x++) { printf("\n R%d : ", x + 1); scanf("%d", &r[x]); } for (x = 0; x < j; x++) { Rs = Rs + r[x]; } printf("\nEquivalent Series Resistance : %d Kohm", Rs); return (0); }