Pattern 6
easy
1. You are given a number n. 2. You've to create a pattern of * and separated by tab as shown in output format.
Constraints
1 <= n <= 100 Also, n is odd.
Format
Input
A number n
Output
Example
Sample Input
5
Sample Output
* * * * * *
* * * *
* *
* * * *
* * * * * *
Question Video