Hi. I need alil help with this question.
This question is taken from the book ( C How to program 3/e by Deitel & Deitel) from the chapter 4 , question 4.16.
4.16 Write a program that prints the following patterns separately one below the other. Use for loops to generate the patterns.All asterisks (*) should be printed by a single printf statement of the form printf ( “*” ); (this cases the asterisks to print side by side).Hint: The last two patterns require that each line begin with an appropriate number of blanks.
A) B) C)
* ********** **********
** ********* *********
*** ******** ********
**** ******* *******
***** ****** ******
****** ***** *****
******* **** ****
******** *** ***
********* ** **
********** * *
I know its a very odd but a good question i have been trying but dint even move a step further...
Thanks alot