Skip to content

Conversation

zer000dawn
Copy link

The first conditional sentence inside the chooseOperation method didn't allow to the calculator to introduce negative numbers as a first input given that everytime the '-' button was pressed it checked for the string and being the string empty it returned nothing, with the new if statement now it can recive negative numbers as input.

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

Successfully merging this pull request may close these issues.

1 participant