Program 270: Program to print Reverse V Alphabet Pattern
//Coming Soon
Output:
#include<stdio.h> main() { int i,j,k=0,space=1,rows; printf("Enter number of rows\n"); scanf("%d",&rows); for(i=rows;i>=1;i--) { for(j=1;j<=i;j++) { printf("%c",j+64); } if(i!=rows) { for(k=1;k<=space;k++) { printf(" "); } space+=2; } for(j=i;j>=1;j--) { if(j!=rows) printf("%c",j+64); } printf("\n"); } printf("\n"); }Explanation:
//Coming Soon
Output: