This might sound like a slightly odd question, so bear with me.
What I'm tasked to do, is to make a simple
Java class that forms a "V" based on whatever height the user would desire, made out of stars "*", and spaces " ".
For example, if a user desires a "V" with a height of 3, it would look print out something like;
Where a "V" with a height of 5 would look something like:
(That one didn't look too good, but you get the point, it's suppose to be 5 "high" and shaped like a "V")
The problem I have, is that I don't see what loops within loops within loops I would need to build something like this.
All the easy stuff like asking the user what height they want and such, I can handle, but I don't see how this thing is suppose to be coded, to print out a decent-looking and right-sized "V" in the console.
Can anyone assist me in this odd matter?
In order to not come off as lazy, I tried poking around a little to see what I could come up with to give you guys a clearer example of what I need.
Looked like something of a good start, and it drew me half (!) of the "V" in the size I wanted.
Am I on to it here, or am I on the moon in terms of progress?
I need the entire "V", not just a nice "\".
In layman terms; what do?