Advertisement
hvalcin

Hw1-Question5OutP

Sep 2nd, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. C:\Users\Hendy\Desktop\Java\Hw 1\src>java question5
  2. enter the X cooordinate for the first point:
  3. 10
  4. enter the Y cooordinate for the first point:
  5. 10
  6. enter the X cooordinate for the second point:
  7. 0
  8. enter the Y cooordinate for the second point:
  9. 0
  10. enter the X cooordinate for the third point:
  11. 30
  12. enter the Y cooordinate for the third point:
  13. 30
  14. This is not a real triangle
  15. enter the X cooordinate for the first point:
  16. 1
  17. enter the Y cooordinate for the first point:
  18. 2
  19. enter the X cooordinate for the second point:
  20. 3
  21. enter the Y cooordinate for the second point:
  22. 3
  23. enter the X cooordinate for the third point:
  24. 2
  25. enter the Y cooordinate for the third point:
  26. 1
  27. This is a real triangle
  28. enter the X cooordinate for the first point:
  29. ^Z
  30.  
  31. C:\Users\Hendy\Desktop\Java\Hw 1\src>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement