Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Hey guys new to forum cause am in need of some help.
I have to draw a 'square' in java whose outline is all *'s and whose interior is filled with the character . (dot).
I did some coding but I only reached the point of just creating a complete square. What do I have to change in order for the task to work?
public static void main( String args )
System.out.print("#Input Square Size ");
int symbol = BIO.getInt();
int l = 1;
while (l <= symbol)
int stars = 1;
while (stars <= symbol)
int i = 1;
stars = stars + 1;
l = l + 1;