In this video, we will write a C program to print kite pattern. A kite pattern is a pattern of three different three triangles. So, we break our code into three parts, i.e., upper triangle, lower triangle , and tail.
Algorithm:
Step 1:Take input of valid integer from user i.e N.
Step 2: First make the upper part of size N using for loop.
Step 3 : Now make the lower part of size N.
Step 4: Finally make the tail of kite(constant size)
Step 5: Print pattern.
Time complexity : O(n^2) for given input n