Question: How to create a diamond in C input n (where n greater than 0) output the diamond shape or print (invalid input) input 6 output
How to create a diamond in C
input n (where n greater than 0)
output the diamond shape or print ("invalid input")

input 6
output
*
**
***
****
*****
******
*****
****
***
**
*
input: 3 output: * * * * * *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
