3) Write a program in C to print a pyramid using *. Ask the use to input the height of the pyramid. Using the height given by the user, use nested loops to draw the pyramid.
4 Write a C Program to print half pyramid as using numbers as shown in figure below. This example is for height 5. Ask user for a height and depending on user input, draw the half pyramid. 1 12 123 1234 12345