Please solve the following problem:
Make a program that uses functions and displaying a menu, in whic the user will be able to calculate the equivalent resistance of a set connected in series or in parallel using C programming language. Add the function to exit the program to the menu.
The user can enter as many resistors as he wants, he should not specify how many resistors will be operated. When the user enters a resistance value of 0 the computer will display the calculation.
× Create a function to ask for the resistors, and only accept positive values.
× Create a function to calculate series resistances.
× Create a function to calculate resistances in parallel.
× Create a function to display the menu.
**DO NOT USE strcmp, getchar OR strcpy PLEASE**
**MAKE IT AS SIMPLE AS POSIBLE**