Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Substruct actually makes multiply #4

@w01fgang

Description

@w01fgang

There is a typo in calculator.subtract

app.get('/', function (req, res) {
    var a = parseInt(req.query.a) || 1;
    var b = parseInt(req.query.b) || 1;
    var result = a * b;

    console.log('Subtract: a(%d) - b(%d) = %d', a, b, result);

    res.json({ result: result, a: a, b: b, operation: '-' });
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions