[Quiz 1] Palindromic Pattern Half Pyramid


Submit solution

Points: 10
Time limit: 1.0s
Memory limit: 2M

Author:
Problem type
Allowed languages
C

Problem Definition

Write a C Program to print the below pattern.

Test Data

Sample Input 1

3

Sample Output 1
*
*1*
*121*
*12321*
*121*
*1*
*
Sample Input 2

5

Sample Output 2
*
*1*
*121*
*12321*
*1234321*
*123454321*
*1234321*
*12321*
*121*
*1*
*

Comments

There are no comments at the moment.