Subject: little program · Posted: 2006-11-03, 04:31am
Rank: ? (1)
Member #: 28986
can you write a java application to allow the user to enter the number of lines and the type of character to be used and the type of the drawing of any of the two following shapes an empty square:if the innput is 5,*,1 respectively.Then the output will look like:
*****
* *
* *
* *
*****
2.A diamond :if the input is 5,*2 respectively.Then the output will look like :