Refer to the attached file to see the printout of patterns.
Write a C program that prints the following patterns separately one below the other. Use for loops to generate the patterns. All patterns should be printed by a single printf statement of the form printf("*"); (this causes the asterisks to print side by side). Hint: The last two patterns require that each line begin with an appropriate number of blanks.
Please help! I am having much difficulty figuring this out.
Anyones help would be greatly appreciated.
Thank you!
Basia
[email protected]