Question: how would i write this on the compiler where im getting the answer with a remainder (decimal or quotient)? i cant seem to get the

how would i write this on the compiler where im getting the answer with a remainder (decimal or quotient)? i cant seem to get the math portion right, my answers either comes out to 0 or 1. where am i going wrong on my program?
how would i write this on the compiler where im getting the
answer with a remainder (decimal or quotient)? i cant seem to get

4. Write a C++ program to read 4 resistors' values which are connected in parallel. Compute total resistor and display it. RTotal=((R2R3R4)+(R1R3R4)+(R1R2R3))/R1R2R3R4 Enter the value of the second resistor, R2 3 Enter the value of the third resistor, R3 3 Enter the value of the fourth resistor, R4 3 Your total resistance, RT, is 1 GOB ...Program finished with exit code 0 Press ENTRER to exit console

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!