Computer Science, asked by HYDRAS, 10 months ago

WRITE A PROGRAM TO DISPLAY THE FOLLOWING PATTERN​

Attachments:

Answers

Answered by charlie1505
0

Answer:

#include <stdio.h>

int main()

{

int i,j;

char ch='A';

for(i=1;i<=5;i++)

{

for(j=1;j<=i;j++)

{

printf("%c ",ch++);

}

printf("\n");

}

return 0;

}

Answered by jeffwin18
0

Answer:

Ans:

n = 3

for i in range(n):

for j in range(i+1):

print('x',end="")

print("\n")

Mark me as brainliest

Similar questions