C program to print triangle, pyramid, geometrical shapes and star patterns

C program to print triangle, pyramid, geometrical shapes and star patterns