Printing a format in java


Print the format, you are given with an Integer, based on that integer print * sequential order as shown below


Input: 5

Output:
*
**
***
****
*****

Comments

Popular posts from this blog

Reasoning-Number Series

Reasoning-Letter Series

TRIGONOMETRY-(RATIOS,IDENTITIES AND HEIGHTS AND DISTANCES)