#include<stdio.h>
#include<conio.h>
main()
{
int row, clm, space;
for(row = 1; row <= 10; row++)
{
//printing spaces//
for(space=9;
space >= row; space--)
{
printf("%c",' ');
}
//printing Stars//
for(clm
= 1; clm <=row; clm++)
{
printf("%c",'*');
}
//going to new line//
printf("\n");
}
getche();
return 0;
}
VERY GOOD MAY ALLAH GOD BLESS YOU
ReplyDeleteTHANKS FOR CODE AND I LEARN THIS CODE CLOSELY LEARN I SOMETHING IS NEW CODE GENERATE WITH THE HELP OF YOUR CODE