The following formulas are used for calculating the “equivalent resistance” in electric circuits. Series resistance: R_eq = R_1 + R_2 + R_3 + Series circuit Parallel resistance: R_eq = (1/R_1 + 1/R_2 + 1/R_3 + ..) Parallel circuit To calculate the total current (I_total) in a combinational circuit like the following figure, it is enough to use the following formula. I_total = v/R_eq where V is source voltage. Write a code in c programing asking two questions: The type of resistors model (p for parallel and s for series) The number of resistors (maximum 3) The voltage supply is a fixed value 24 volts. Calculate the equivalent resistance and report it. Calculate the total current and report it. If user entered the number of resistors anything except 1, 2 and 3, the program should create a message and ask the user to run the code again and use the correct number.