Computer Science, asked by binilagireesh33, 10 months ago

program to print the series
1A 2B 3C 4D 5D
1A 2B 3C 4D
1A 2B 3C
1A 2B
1A​

Answers

Answered by manas3379
4

Answer:

The following program is in Java,

class Series {

public static void main(String[ ]

args) {

char ch = 'A';

for(int i = 5; i>=1; i- -) {

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

System.out.print(j+""+(ch++)+"

");

}

System.out.println();

ch = 'A';

}

}

}

Answered by Anonymous
2

Answer:

hiiiiiiiiiiiiiii cutiiipieee

Similar questions