To write the calculation programme of
electrical chain resistance? sonsisted of two
resistances? which can be connected logically or
parallel/ During introduction of resistances less or edui
zero? and also exceeded 1000000? remove to
the display -1.
input data
result
the first resistanse, result the second resistanse, type of the connect (1 – logically, 2 - parallel)
output data
resulting
resistance accurate to two tenth
example input data
5 3 2
example output data
1.88
author: Zibjuk T.V.