Am trying to make this program in c which draws the following

\\*      *      *
\\**    ***    **
\\***  *****  ***     
\\***************

if the user in puts 4.... ((need help))

i only want to use the nested for loop and the if else statements so please need help

that's what i did so far..

#include <stdio.h>
int main ()
{
int input;

printf("please enter the size of the triangle:");
scanf("%d",&input);





system ("pause");
return 0;
}

i am so new to programming and am teaching my self programming threw the internet and am not going to any programming classes
thanx

plez help

plez?

gerard did help. It also might help it you read the Member Rules as asked when you signed up.

Can anyone answer the question , I need to answer as well ..
The program does not work with me!
Can you write it in C Language ؟
I would be grateful to you Mr.gerard

Can anyone answer the question , I need to answer as well

Whether you need the answer or not doesn't change the fact that we don't do other people's homework until they've demonstrated sufficient effort in completing it themselves.

well .. you are right in these point !
but you don't know how much i try to solve it !
and you do not know how much time I spent to solve this program ..

You're right. We don't know. You're point is...?

but you don't know how much i try to solve it !
and you do not know how much time I spent to solve this program ..

This is true. We can only go by what we see, and what we see is somebody who's shown no effort asking for the complete solution. Put on your objectivity hat and ask yourself what you'd do if you were us.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.