Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible ISP problem #7

Closed
Jorge15042001 opened this issue Jun 29, 2021 · 0 comments
Closed

Possible ISP problem #7

Jorge15042001 opened this issue Jun 29, 2021 · 0 comments

Comments

@Jorge15042001
Copy link

ISP problem correction

This is issue was created as an University assignment, therefore feel free to delete/ignore it

Permalink

Solution

Each mathematical operation implements the Computable Interfce, and defined how should it's result be computed, this allows easy extension of the code-base.

UML

image

Source Code

Computable interface

image

Addition class

image

Subtraction class

image

Multiplication class

image

Division class

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant