//Makes bottom half of hourglass.
public static void bottom(int rows) {
for (int j = 1; j < rows; j++) {
printChars(' ', rows - j);
...
Type: Posts; User: iSuckAtJava
//Makes bottom half of hourglass.
public static void bottom(int rows) {
for (int j = 1; j < rows; j++) {
printChars(' ', rows - j);
...
I could not get it to print | | in the middle instead of \/.
But everything else prints how it asks for.
Thanks...
If anyone can help me that'd be cool.
public class DrawHourGlass {
public static void main(String[] args) {
System.out.println("An hourglass of size 4:");
drawHourGlass(4); // draw an hourglass of size 4
...