12951 - Star Underscore Pyramid   

Description

Write a C program that reads a positive integer
n>0, representing the number of lines, and then
prints the pattern shown in the sample I/O.

If the user’s input is invalid, output
“invalid\n”.

Input

Positive Integer

Output

Combination of "*" and "_"

Sample Input  Download

Sample Output  Download

Tags




Discuss