Q. Write a C program to print the following character pyramid as:
a b b b
b a b b
b b a b
b b b a
Ans.
/*c program for alternate character pyramid*/
#include<stdio.h>
int main()
{
char r,c,ch='d';
a b b b
b a b b
b b a b
b b b a
Ans.
/*c program for alternate character pyramid*/
#include<stdio.h>
int main()
{
char r,c,ch='d';