Draw flowchart AND write pseudo code
Ohm’s law state that volts (V) is Current (I) times resistance
(R) V=I*R
Calculate volts given the current and resistance for a circuit
Answer:
Pseudocode-
Function Main
Declare Integer I, R, V //declare variables
Output "Enter the current in ampere"
Input I //takes input for I varaible
Output "Enter the resistance in Ohm"
Input R //takes input for R variable
Assign V = I*R //calculate volts with formula as you given
Output "Voltage is: "&V //output display on the screen
End
Flowchart-
Get Answers For Free
Most questions answered within 1 hours.