drawing triangle given 3 points

how do i draw a triangle using asterisks with the vertices input by the user.i should not use the Graphics class.
[127 byte] By [fusspota] at [2007-11-26 21:51:48]
# 1
You also should not post your homework just like this. If you have a problem with your code, we'll help you, but you need to show it.
CeciNEstPasUnProgrammeura at 2007-7-10 3:45:29 > top of Java-index,Java Essentials,Java Programming...
# 2

> You also should not post your homework just like

> this. If you have a problem with your code, we'll

> help you, but you need to show it.

this is just part of the much bigger problem.

i'm not asking you to do this because i'm lazy.

i just have no idea how to do it.

fusspota at 2007-7-10 3:45:29 > top of Java-index,Java Essentials,Java Programming...
# 3
How to do what? Get user input? Draw a triangle of asterisks on the console? Determining that the triangle is supposed to look like?If it's "all of it", i strongly, very strongly advise to ask your teacher or at least a peer for help.
CeciNEstPasUnProgrammeura at 2007-7-10 3:45:29 > top of Java-index,Java Essentials,Java Programming...
# 4
the points are cartesian plane points i.e. has x and y coordinates.yes, i need to draw the triangle on the console.
fusspota at 2007-7-10 3:45:29 > top of Java-index,Java Essentials,Java Programming...
# 5
Search the web for "scan line conversion." There are various algorithms you can implement.
jsalonena at 2007-7-10 3:45:29 > top of Java-index,Java Essentials,Java Programming...