ad

Monday, March 10, 2025

C Program Print Inverted Pyramid

C Program Print Inverted Pyramid

C Program Print Inverted Pyramid

Example 


#include<stdio.h>
int main()
{

int i,j,row;
printf("enter number row");
scanf("%d",&row);
for(i=row;i>=1;i--)
{

for(j=1;j<=i;j++)
{
printf("*");
}
printf("\n");
}
getch ();
}






C Program Print Inverted Pyramid

 Program Output ;-  Run 1 Time 

C Program Print Inverted Pyramid

C Program Print Inverted Pyramid

 Program Output ;-  Run 2 Time



C Program Print Inverted Pyramid

Related Post :-

Website about us page html and css


No comments:

Post a Comment