Skip to content

Exercise_03_19.java solved incorrectly #44

Open

Description

@jdeisenberg

The problem asks for the edges (lengths of the sides) of the triangle, not the vertex points.

If you enter points (1, 1), (2, 2), and (3, 3), your program will say that it is a valid triangle -- but these points describe a straight line, not a triangle.

By the way, several students in my class copied this wrong solution and lost a large number of points for doing it incorrectly -- and for plagiarism.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions