Solved

# C program- :)

Posted on 2004-04-13

The program should calculate total resistance of any two resistors

in parallel (R1 and R2) whose values should be any possible combination

of integer numbers between 1 and 100. The program should analyze

the output (RT), and display R1, R2, and RT on the screen if the

equivalent resistance RT is just a whole number (without decimals).

-----------------------------------------X------------------------------------------

Formula to calculate total resistance (RT) of two parallel resistors is:

RT= 1 / ((1/R1)+(1/R2))

could someone please guide me.