|
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).
|