Write the program for below pattern (ANY ONE):
1) A
B B
C C C
D D D D
E E E E E
2) A
A B
A B C
A B C D
A B C D E
3) A
B C
D E F
G H I J
Answers
Answered by
0
Answer:
A1 B2 C3 D4 E5 OK MARK ME AS A BRAINLIST
Answered by
1
int maiÑ()
{
inŤ i, j, n = 5;
for (i = 1; i <= n; i++)
{
for (j = i; j <= n; j++)
{
coÚt << (char)('A' - 1 + j) << " ";
}
cout << endl;
}
return 0;
}
//
Similar questions