Submit Best Submissions All Submissions

355. Counting More Stars

Problem Statement:
Given a number N, print a pyramid using stars, as follow:

first line should contain one star
second line contain two stars
third line contain three stars
and so on until the N line contain N stars

for example: if N = 5

then you should print


Input Format:
Single integer N


Output Format:
the star pyramid

Sample Input:

Sample Output:

Added by: gammal
Added at: 2015-02-11 18:18:37 UTC
Time Limit: 1 second
Partial score: No