Tag: Pattern Printing:Star and Half pyramid in C

30
Dec
2015

Pattern Printing:Star and Half pyramid in C

#include<stdio.h> int main() { int i,j,rows; printf(“Enter the number of rows: “); scanf(“%d”,&rows); for(i=1; i<=rows; i++) {…