nasim_khan, while we appreciate your contribution, we ask that you please do not hand over answers like that. I recommend you read the following (namely section 7)
Announcements - Loops & Control...
Type: Posts; User: copeg
nasim_khan, while we appreciate your contribution, we ask that you please do not hand over answers like that. I recommend you read the following (namely section 7)
Announcements - Loops & Control...
Start here: The Java™ Tutorials and search the forums (for example search for "asterisk triangle") - questions such as this have been addressed quite often.
Edit:...