+ 2
I wanna make a menu with C
I want to make a menu for the calculation of resistance in parallel and in series, but when browsing the menu an error occurs. For example, I select "calculate in series", enter the number of resistors and finally the values of the resistors, and get the result. but at the time of changing in "calculate in parallel" it no longer allows me to enter the number of resistors https://code.sololearn.com/ceEHjG0NqRy0/?ref=app https://code.sololearn.com/cBcS6sICLv41/?ref=app
5 ответов
+ 1
Before the switch put
i = 1;
+ 3
//Can you please post your source code, so we can further look into problem
+ 2
length exceeds word limit
Please use code playground to post your code
https://www.sololearn.com/post/75089/?ref=app
+ 2
Ready
+ 1
//remove conio.h
and in line 19 you are doing opcion its option
https://code.sololearn.com/chZMYL3ZqLvD/?ref=app