*You need to have at least one user define function
*Language: C programming
Write a program in C to print a diamond using *. Ask the use to input the height of the pyramid. Using the height given by the user (data validity needed), use nested loops to draw the pyramid.
Input: Key in the height: 9
Output:
*
**
***
****
*****
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here