Question: 1. With proper programming steps write a program to Read the Power(W) and Current (I) of an electrical Line Calculate the Voltage(V) and Resistance (R)
1. With proper programming steps write a program to Read the Power(W) and Current (I) of an electrical Line Calculate the Voltage(V) and Resistance (R) using the formula Voltage = Power / Current Resistance = Voltage / Current Print the Voltage and Resistance with proper units. Note: Unit for Voltage is Volt and unit for Resistance is Ohms Sample Output: Enter the Power: 1000 Enter the Current: 10 The Voltage is: 100 Volt The Resistance is: 10 ohms
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
