-
Notifications
You must be signed in to change notification settings - Fork 0
Methods of Calculation
mcode10 edited this page May 18, 2019
·
3 revisions
My calculator uses two major components: The UI and the Calculator Engine The design works like this: The UI takes care of all interactions between the user and the program. The Calculator Engine takes the numbers and computes them, and returns the result to the UI. The UI then prints the result on the display. This system makes use of the single responsibility principle. The CalcEngineProtocol adds a layer of security to make use of this even more.