I want to be able to print a diamond like this when the user enters 5 for the diamond. But also will work for any value that is odd and greater than 0.
I don't want to give you the code, you should learn.
The input number will be the width of the diamond, so make sure to make a relation between the spaces and asterisks that does not surpass this number.
The main idea would be to start at 1 asterisk, and increment by two each time until the input number is reached.
Also, do something to prevent an error if the user enters an even number.