The voltage of a resistor is calculate by the Ohm`s Law: V = R I. write a program that will input resistance R, current I for several resistors, and will calculate and display the voltage for each resistor. The loop will terminate if you enter -1 as the resistance value. (Note that your program should output nothing when -1 is entered as the resistance value).