12976 - Number Pyramid Pt 2   

Description

Write a program that asks the user to input a positive number n.
Let’s say the user inputs 5. Your program should output the following pattern:

 

Input

n, such that, 0 < n <= INT_MAX

Output

A sequence of:

  • n, such that, 0 < n <= INT_MAX.
  • "*" characters.

Sample Input  Download

Sample Output  Download

Tags




Discuss