#Help with C code calculator

10 messages · Page 1 of 1 (latest)

vocal shale
#

Hello, beginner programmer here. I am currently looking for some help on some code I am putting together for a school related project I'm working on. Essentially this is supposed to be a matrix calculator, but when the user finishes inputting their dimensions of 2 matrices (which the mathematical operations will be preformed on) and presses enter, instead of displaying the output for the addition, subtraction, multiplication and division of the matrices, it just returns to the main menu for whatever reason.
I still have to rewrite the math functions to actually do the division and a few other things correctly, and polish the entire thing up, but as for big issues, this seems to be the only one. I greatly appreciate any feedback or help people could provide :)

Here is the pastecord link for the code:
https://pastecord.com/muzeloxera

robust gateBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

orchid mortar
#

Do you have a particular issue?

vocal shale
# orchid mortar Do you have a particular issue?

Yes, when I input the last indice for the B matrix, instead of then displaying the products of the mult, div, add, and sub of the two matrices, it just returns to the menu. Specifically the menu starting on line 78.

vocal shale
quiet thistle
twin solar
vocal shale
#

Thanks everyone, I figured it out, and it runs just fine now. I appreciate it!

#

!solved