Q. Write a C program to print the following nested number-character pyramid/pattern as:
A
1
BB
22
CCC
333
Ans.
/*c program for nested number character pyramid*/
#include<stdio.h>
int main()
{
int num,r,c,z,n=1;
char ch='A';
printf("Enter Maximum number : ");
scanf("%d", &num);
A
1
BB
22
CCC
333
Ans.
/*c program for nested number character pyramid*/
#include<stdio.h>
int main()
{
int num,r,c,z,n=1;
char ch='A';
printf("Enter Maximum number : ");
scanf("%d", &num);