Well, my compute science teacher gave us a lab to do over break, and I decided to just get started. It's very easy, but I simply do not know what kind of loop to use, nor do I know what I use to increment the asterisks. Here's the lab:
Write a C program that prints the following patterns below one another. There is no user
input. Use for loops to generate the patterns. All asterisks (*) should be printed by a
single printf() statement. Use getchar() to pause the screen between patterns. You need
not define functions for this lab.
A)
*
**
***
****
*****
******
*******
********
*********
**********
B)....
and so on
All I need is a few legs to stand on and then I'll be figuring this out. Thanks