Hey I need some quick help with this problem. Im new to this stuff and need some help with this. This is my sample problem that is spose to be easy. I just need some help with this before i do the main project. Can someone please help me with this real quick so i have a main idea on what needs to be done for the rest of the project? Thanx for all of your guys help. Once i get the hang of this stuff ill soon be able to help you guys out.
anyway, heres the problem....

Given the length, L, and height, H, of a parallelogram, entered from the user, draw a representation of the parallelogram using stars. For example, a parallelgram of length 5 and width 4 can be represented as follows:

*****
.*****
..*****
...*****

the dots are spaces "." the object is slanted

In particular, the first row of the design contains L stars starting from the left-most column. Each subsequent row starts with one more space than the previous row followed by L stars. A total of H rows will be printed.

2. Use for loops for that.

Code:
```int i,j;

for(i=0; i<H; i++) {
for(j=0; j<i; j++) printf(" ");
for(j=0; j<L; j++) printf("*");
printf("\n");
}```

3. is that it?

Is that the entire program??

4. It's nearly the entire program.
You really should be able to do the rest.

5. what next?

NOw all i have to do is ask the user for the inputs?

6. Code:
```#include <stdio.h>

int main()
{
int i,j,h,l;

printf("\nInput height: ");
scanf("%d",&h);
printf("Input length: ");
scanf("%d",&l);
for(i=0; i<h; i++) {
for(j=0; j<i; j++) printf(" ");
for(j=0; j<l; j++) printf("*");
printf("\n");
}
return 0;
}```

7. >NOw all i have to do is ask the user for the inputs?

FAQ > How do I... (Level 1) > How do I get a number from the user (C)

8. Thank you so much

Thanks guys for all your help, im sure ill have more questions in the future. i hope youll help me then. thanks