Skip to content

The calculator code is wrong  #6

@Pranava-M

Description

@Pranava-M

The subtraction method is wrong (a-b should be there not b-a)
The multiply method has an extra loop iteration
divide method condition is wrong
modulo method condition is reversed

Just one line error in each function so fix that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions