Skip to content
Snippets Groups Projects
Commit a1a843bb authored by Mohamed Yasar arafath K M's avatar Mohamed Yasar arafath K M :speech_balloon:
Browse files

intial commit

parent 77b1d4ac
No related branches found
No related tags found
No related merge requests found
#include<stdio.h>
#include<stdlib.h>
int main(int argc,const char *argv[])
{
int i,j,space,row;
row=atoi(argv[1]);
for (i = row; i > 0; i--)
{
for (space = 0; space<row-i; space++)
{
printf(" ");
}
for (j = 0; j < 2*i-1; j++)
{
printf("*");
}
printf("\n");
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment