any JAVA expert can help me out?
write two java programs.
The first program should draw a single red triangle in the center of a 300 x 300 pixel Frame.
The second program should allow the user to pass the number of triangles to be drawn in a 300 x 300 pixel Frame as a command line argument. You are free to arrange the triangles in any way you like e.g. top down, left right, etc…
thanx very much!!!!