Ushtrime Ne Gjuhen C
Ushtrime Ne Gjuhen C
Olta Petritaj
printf("\n");
}
getch();
}
printf("\n");
}
getch();
}
for(i=n-2;i>=1;i--)
{
for(j=1;j<=n-i;j++)
printf(" ");
for(j=1;j<=2*i-1;j++)
printf("*");
printf("\n");
}
getch();
}
}
getch();
}
for(j=1;j<=i;j++)
if(j%2==0)
printf("%d",a);
else
printf("%d",b);
printf("\n");
}
getch();
}
int main()
{
int i,j,n,a,b;
for(j=1;j<=i;j++)
if(j%2==0)
printf("%d",a);
else
printf("%d",b);
printf("\n");
}
getch();
}
printf("\n");
}
getch();
}
4444 */
#include<stdio.h>
#include<conio.h>
Int main()
{
int i,j,row;
/* *
**
***
**** */
#include<stdio.h>
#include<conio.h>
int main()
{
int i,j,row;
printf("Enter How many Rows : ");
scanf("%d",&row);
for(i=1;i<=row;i++)
{
for(j=1;j<=i;j++)
printf("*");
printf("\n");
}
getch();
}