Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercise_03_19.java solved incorrectly #44

Open
jdeisenberg opened this issue Feb 22, 2020 · 0 comments
Open

Exercise_03_19.java solved incorrectly #44

jdeisenberg opened this issue Feb 22, 2020 · 0 comments

Comments

@jdeisenberg
Copy link

jdeisenberg commented Feb 22, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant