Half pyramid pattern of numbers
Program: #include < stdio.h > int main() { int rows; printf("Number of rows: "); scanf("%d","rows); //first loop for printing for(int i=1;i { //second loop for printing similar number in each //rows for(int j=1;j printf("%d",i); } printf("\n"); return 0; }