Question: Write a C + + , windows - console program that uses structs and functions to calculate the resistor value and its minimum power rating
Write a windowsconsole program that uses structs and functions to calculate the resistor value and its minimum power rating in the LED driver circuit given by Fig. The program will prompt the user to enter the various parameters of the LED driver circuit and it will then calculate and display the required resistor value and its minimum power rating.
Requirements:
The program will greet the user with a description of what it does, including a textbased depiction of Fig.
The program will use structs to store the userinput parameters of the circuit and the resulting resistor value and power rating. The program shall use functions to retrieve the LED driver parameters from the user and to calculate the resistor value and power rating; the functions used must follow the prototypes given below:The program must specify units in its prompts and results.Use sufficient and meaningful comments in your code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
