Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Hendy\Desktop\Java\Hw 1\src>java question5
- enter the X cooordinate for the first point:
- 10
- enter the Y cooordinate for the first point:
- 10
- enter the X cooordinate for the second point:
- 0
- enter the Y cooordinate for the second point:
- 0
- enter the X cooordinate for the third point:
- 30
- enter the Y cooordinate for the third point:
- 30
- This is not a real triangle
- enter the X cooordinate for the first point:
- 1
- enter the Y cooordinate for the first point:
- 2
- enter the X cooordinate for the second point:
- 3
- enter the Y cooordinate for the second point:
- 3
- enter the X cooordinate for the third point:
- 2
- enter the Y cooordinate for the third point:
- 1
- This is a real triangle
- enter the X cooordinate for the first point:
- ^Z
- C:\Users\Hendy\Desktop\Java\Hw 1\src>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement