Question: please help me with this. c++ question thank. you 3. Write the following functions with the specification below. a. readResistance reads the resistance of a
please help me with this. c++ question

thank. you
3. Write the following functions with the specification below. a. readResistance reads the resistance of a resistor. The variable to b. readCurrent - reads the current through the resistor. The variable to c. calcPower -calculates the power using the resistor and current value. store the resistor value has to be passed by reference. store current has to be passed by reference You have to pass three parameters to this function. The resistor value, the current value and the calculated power value. The variable that stores the calculated power value will be passed by reference. The others will be passed by value. You have to calculate the power in the function and store in the power variable. Since it is passed by reference, it has to be available in the main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
