I need to write a program for calculating the resistance with parallel connections (but what the problem is, the result of 0 comes out although this is wrong) where it is not correct C bülder
{int sopr1, sopr2, sopr3, sopr4, sopr5; float result; sopr1=StrToInt(Edit1->Text); sopr2=StrToInt(Edit2->Text); sopr3=StrToInt(Edit3->Text); sopr4=StrToInt(Edit4->Text); sopr5=StrToInt(Edit5->Text); result=((1/sopr1)+(1/sopr2)+(1/sopr3)+(1/sopr4)+(1/sopr5)); Edit6->Text=FloatToStr(result); }