I want to write a program in C that prints an asterisk in C.. the user enters an odd number, then the output will be an asterisk, for example: if the user entered the number 7 then the output will be:
* * *
* * *
***
*******
***
* * *
* * *
note that the weight/the height of the asterisk = 7 and if he entered the number 5 for example:
* * *
***
*****
***
* * *
the problem that I face is that I didn't figure out how to 'change' the litte asterisk places, and how to build this program using loops only..
