1. ## crazy triangles

Code:
```*** *** ***
**  **  **
*   *   *```
-sigh- My head's aching, but I can't seem to figure out how to generate that figure using the for loop and putchar('*').
Any help would be greatly appreciated.

2. no need to start a new thread, especially since nobody will know what you are talking about if they don't read the other one. Again, like I said, just read an intro to C++ to understand what a for loop is, if you can't do that, then just give up and become an accountant.

3. Simple!
Code:
```#include <stdio.h>

int main(void)
{
int i;
for (i = 0; i < 1; i++) /* required for loop */
{
putchar('*'); putchar('*'); putchar ('*');
putchar(' ');
putchar('*'); putchar('*'); putchar ('*');
putchar(' ');
putchar('*'); putchar('*'); putchar ('*');
putchar(' ');
putchar('\n');
putchar('*'); putchar('*');
putchar(' '); putchar(' ');
putchar('*'); putchar('*');
putchar(' '); putchar(' ');
putchar('*'); putchar('*');
putchar(' '); putchar(' ');
putchar('\n');
putchar('*');
putchar(' '); putchar(' '); putchar(' ');
putchar('*');
putchar(' '); putchar(' '); putchar(' ');
putchar('*');
putchar(' '); putchar(' '); putchar(' ');
putchar('\n');
}
return 0;
}```
Moral of this story, read the sticky concerning homework threads and make an attempt first.

Can you even work out the program in some form of pseudocode? Obviously, loops will be involved, what are the starting and ending values, etc.?

4. yea that will do! and it uses a for loop!