c program
Q.1] C Program Print Right Half Pyramid pattern
Examples :-
#include<stdio.h>
#include<conio.h>
int main()
{
int i,j,row;
printf("enter the number");
scanf("%d",&row);
for(i=1;i<=row;i++)
{
for(j=1;j<=i;j++)
{
printf("*");
}
printf("\n");
}
return 0;
}
Q.1] C Program Print Right Half Pyramid pattern
Program Output ;- Run 1 Time
Q.1] C Program Print Right Half Pyramid pattern
Program Output ;- Run 2 Time
Related Post :-
No comments:
Post a Comment