Skip to content

var amount is not known in lesson 9, final question #1317

Description

@Nahbyr

In lesson 9. Adding and subtracting, the final question before practice, you do not know what's in var amount. It could be negative and add to the health with a '-' (minus) sign.

Image

For example:

var amount = -30
var health = 70

health -= amount

Would technically increase health.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentIssues with the lessons, practices, including their code examples

    Type

    No type

    Fields

    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