Search:

Type: Posts; User: valium123

Search: Search took 0.20 seconds.

  1. Replies
    6
    Views
    455

    Re: need help printing hourglass shape

    This is not homework. I am trying to teach myself java.

    This code is supposed to print symbols in hourglass shape.
    size must be an odd number. For example giving it a parameter of 3 and 'Q'...
  2. Replies
    6
    Views
    455

    Re: need help printing hourglass shape

    This is not homework. I am trying to teach myself java.

    This code is supposed to print symbols in hourglass shape.
    size must be an odd number. For example giving it a parameter of 3 and 'Q'...
  3. Replies
    6
    Views
    455

    need help printing hourglass shape

    I am only able to print upper half of the hourglass. Please help with the ower half.

    public static void printHourglass(int size, char symbol)
    {
    int count = 0;
    int count2...
Results 1 to 3 of 3