Skip to content

User input is not handled correctly when input is invalid in the scientific calculator #1

Description

@arkzen

Currently, the app does not handle user input correctly when the user enters values and mathematical functions like sin, cos, tan, log, ln, x!, root, or 1/x in different orders.
For example, if the user enters a value followed by a mathematical function and hit enter then the app crashes but if user enters mathematical function first then enters the value and hit enter then the code works fine and user get correct output.
The app currently does not handle user input in a consistent or reliable way, leading to unexpected results and crashes. This issue needs to be addressed to make the app more user-friendly and reliable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions