Skip to content

output wrong in Chapter 4 exercise 4.15 #1

@ghost

Description

suppose the random number is 169 and you enter 999 it says matches all digits but that's wrong. becuase n1, n2, n3 matches g3 Your conditions are only checking if the numbers are matched with every other number. they are not restricting that one number has been checked and need not to be checked again. like if n1 matches g3; these numbers are locked and g3 must not be checked against n2 or n3

I actually do not know the answer to this and that is how I stumbled upon your repository. might update you if I can come up with a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions