Ohm\'s Law models the current through a conductor as follows: I =V/R where V is
ID: 3648532 • Letter: O
Question
Ohm's Law models the current through a conductor as follows:I =V/R
where V is the voltage (in volts), R is the resistence (in Ohms) and I is the current (in amps). Write a
program that, given two of these values computes the third using Ohm's Law.
The program should work as follows: it prompts the user for units of the rst value: the user should be
prompted to enter V, R, or I and should then be prompted for the value. It should then prompt for the
second unit (same options) and then the value. The program will then output the third value depending
on the input. An example run of the program: