Program To find equivalent resistance of Parallel combination of resistive circuits

July 31, 2024 3 Comments » Hits : 398





Program : Program To find equivalent resistance of Parallel combination of resistive circuits

#include<stdio.h>
#include<conio.h>
int main()
{
int r[10],num,i,Rs=0;
clrscr();
printf("Enter the number of Resistances : ");
scanf("%d",&num);
printf("\nEnter Value of Each Resistance : \n");
for(i=0;i<num;i++)
   {
   printf("\nR%d : ",i+1);
   scanf("%d",&r[i]);
   }
for(i=0;i<num;i++)
   {
   Rs = Rs + r[i];
   }
printf("\nEquivalent Series Resistance : %d Kohm",Rs);
getch();
}

Output :

Enter the number of Resistances : 3
Enter Value of Each Resistance :
R1 : 4
R2 : 2
R3 : 3
Equivalent Parallel Resistance : 0.923077 Kohm

Incoming search terms:

  • Hilton Westenhaver

    Pretty nice post. I just stumbled upon your blog and wanted to say that I’ve truly enjoyed surfing around your blog posts. In any case I will be subscribing to your feed and I hope you write again soon!

  • Danny

    I actually wanted to compose a small note to thank you for some of the pleasant secrets you are showing on this website.

  • Ppritam92

    check the program again; it was not for parallel combination but for series combination..