ad

Tuesday, February 25, 2025

C Program Print Right Half Pyramid pattern

c program

C Program  Print Right Half Pyramid pattern

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

 Q.1] C Program  Print Right Half Pyramid pattern
 Program Output ;-  Run 2 Time 


Q.1] C Program  Print Right Half Pyramid pattern   Program Output


Related Post :-

javascript assignment operators

PHP Program to print Alphabet Pattern


No comments:

Post a Comment