A Simple Calculator

I wrote the simple calculator so that it would accept any sequence of digits, '+', and '-' and output the result after the '=' character was scanned. I was told that this would be okay as long as the calculator works. If no numbers are between two operators, then it is read by the simple calculator as though a zero was in between the two operators. So that -5+4=-1 works because 0 - 5 + 4 = -1, and 4+-3=1 works because 4 + 0 - 3 = 1.

Source code of my project is in the file "calculator.txt"

If large numbers are input, the simple calculator may be slow because of the inefficient division subroutine I used.

I used an HTA (Hierarchical Task Analysis) as my design diagram. HTA's are used to design a system by breaking it into tasks and subtasks until the system is resolved. HTA's are read from left to right, and each subtask describes it's parent's task in more detail.
HTA of the Simple Calculator
I'll try to be brief and cover what the HTA left out: And That's It!