📅  最后修改于: 2022-03-11 15:04:39.255000             🧑  作者: Mango
#include
int main(){
int i,j,n,;//declaring variables
/*
At first half pyramid
*
**
***
****
*****
******
*******
********
*/
printf("Enter rows: \n");
scanf("%d",&n);
printf("half pyramid\n\n");
for(i=0;i