Showing posts with label ABCD CDA AB C Character pyramid source code. Show all posts
Showing posts with label ABCD CDA AB C Character pyramid source code. Show all posts

12.03.2012

Character Pyramid Program

Q. Write a C program to print the following character pyramid C program:

ABCD

CDA
AB
C

Ans.

Cross-reference: Before you read answer of above program i recommend to read Number Pyramid Program for easily understand this program. 

/*c program for character pyramid*/
#include<stdio.h>
int main()
{