Any people can help to do this?
*
**
***
****
Urgent~
That doesn't need a nested loop -- just a simple loop will be sufficient.
HI friend you can take help by this code
#include<stdio.h>
int main()
{
int i,j,k;
for(i=1 ; i<=8 ; i++)
{
for (j=7 ; j>=1 ; j--)
printf(" ");
{for(k=1 ; k<=i ; k=k+1)
printf("*");
printf("\n");}
}
}
Your Regards
Sohel Rana
Bangladesh
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.