I am trying to make a simple math program, everything else works fine, the adding, subtracting, multiplication, but the division seems to crash quite a bit(I've marked the code where it crashes), and I'm not sure why that is. Any one care to help out? Thanks in advance, and I've also taken a look around the forums and FAQs but couldn't find an answer.
My first comment would be AAAAARRRGGGHHHHHH goto's!!!!
Goto is generally regarded as a poor way to program, as it tends to lead to code that is difficult to maintain.
It is much better to use functions.
Back to your problem - well, 1 in 12 times b == 0, so you have a division by zero when calculating c. Add a test for b==0 before the division and either set b=1, or c=0 (depending on how you want to handle this case).
Fadrax:
Instead of testing if b == 0, why not making sure that b can't reach 0 in the first place?
b = 1 + rand%11
supness (OP):
I think the math for the division is too complicated. Why not multiply some random numbers first to make sure there never will be a remainder?
Also I would prefer functions and loops to get rid of the goto's like Faldrax already said, but that's your own choice. Most people will stop using these after a while automatically because it leads to spaghetti code.
Some joke:
When telling a programmer to: "go to heck", he is more offended by the "go to" than "heck"