Search:

Type: Posts; User: Junky

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    2,728

    Re: How to make this triangle upside down in java?

    My previous advice still applies. You have to work out how many spaces and stars need to printed on each line. And those values will decrease for stars and increase for spaces.
  2. Replies
    5
    Views
    2,728

    Re: How to make this triangle upside down in java?

    It would help if you provided an example of the output.

    Anyway, loops generally go from 0 upwards. What happens if you start at n and go downwards?
Results 1 to 2 of 2