Program 73:
//Coming Soon...
Output:
#include<stdio.h> main() { int i,j,k,rows,count,temp=1,alpha; printf("Enter number of rows:\n"); scanf("%d",&rows); count=rows-1; for(i=1;i<=rows;i++) { alpha=65; for(j=1;j<=count;j++) { printf(" "); } for(k=1;k<=temp;k++) { printf("%c",alpha); alpha++; } count--; temp+=2; printf("\n"); } }Explanation:
//Coming Soon...
Output: