Your comments are a bit wrong. Also, why can A or B only be 1 - 10 ?
I have no idea why. I just put them there. I thought it you go over such a number that it would go into a death spin and never come out of it.
None.
I recommend you use strings to conserve space and make the program shorter, you repeat some lines several times.
None.
I recommend you use strings to conserve space and make the program shorter, you repeat some lines several times.
Care to explain how? Also, how do I make this into a program where you click on an icon and it loads the command prompt version of my program, instead of having to compile + run every time?
None.
This part is wrong:
else if (c > 1, c < 1) {
return 0;
}
You can have values of c greater than 1 now so it should check for c > 4.
I recommend you use strings to conserve space and make the program shorter, you repeat some lines several times.
Stop criticizing the unimportant parts. It's better that he learn the control flow rather than design first.
Care to explain how? Also, how do I make this into a program where you click on an icon and it loads the command prompt version of my program, instead of having to compile + run every time?
Don't worry about this for now. I'm fairly certain in Dev-C++, it's just one of the options (probably something along the lines of "create executable") but this is something you don't need to think about until you plan on distributing the executable to masses of people.
None.
Don't worry about this for now. I'm fairly certain in Dev-C++, it's just one of the options (probably something along the lines of "create executable") but this is something you don't need to think about until you plan on distributing the executable to masses of people.
Duh. Who doesn't want a calculator that does basic math and is more complicated to use then the one windows provides?
None.