vahid mirjamal wrote:So far I'm getting
*
**
***
just fine for when i leave out the second nested for statement which is oddly wrong. Any hints on how to get the second part of it to make the above
.
..
...
..
.
when I type in 3?
[List of FAQs] | [Android FAQ] | [Samuh Varta]
Where does the "Sir" come from?Monu Tripathi wrote: . . . Sir Campbell Ritchie . . .
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie wrote:
Where does the "Sir" come from?Monu Tripathi wrote: . . . Sir Campbell Ritchie . . .
[List of FAQs] | [Android FAQ] | [Samuh Varta]
Campbell Ritchie wrote:You can also do it by doubling the number of *s required and use Math.min(stars - i, i) in your for loop, which you ought to consider as an enhancement once you get it working with one loop.
[List of FAQs] | [Android FAQ] | [Samuh Varta]
Consider Paul's rocket mass heater. |