Quote:
Originally Posted by Sane
If you're just starting with loops, then this will probably send you in way over your head. A calculator, as basic as it is in theory, can be complicated to program when being done in the same manner as a scientific/windows calculator. I'd first get more comfortable with the language itself. Especially if this is your first programming language, which I can assume is.
I'd first try something simpler like a four operation calculator. In this calculator, there's two number fields and a button for each operation: "+-*/". Each of those buttons evaluates the respective operation for the two operands (extracted from the two number fields).
|
Do you mean a standard one that gets 2 numbers from text boxes, or input boxes? I can do that w/ sq roots added. So each button does one function, that was what i thought. You need to use advances stuff to do functions by pressing 1 and then - and then 2 and then =? Thanks, i'll try to keep learning.