C Programming Code Examples C > Miscellaneous Code Examples Find equivalent capacitance of parallel combination of capacitive circuit Find equivalent capacitance of parallel combination of capacitive circuit #include<stdio.h> int main() { float c[10], num, Cp = 0; int j; clrscr(); printf("Enter the number of Capacitors : "); scanf("%f", &num); printf("\nEnter Value of Each Capacitor : n"); for (j = 0; j < num; j++) { printf("\nC%d : ", j + 1); scanf("%f", &c[j]); } for (j = 0; j < num; j++) { Cp = Cp + c[j]; } printf("\nEquivalent Parallel Capacitance : %f mFarad", Cp); return (0); }