Computer Science, asked by 62rehankhan29, 9 months ago

State the output of the following code [3]

for(int i=1;i<4;i++)

{

for(char ch='A';ch<='A'+(i-1);ch++)

{

System.out.print(ch);

}

System.out.println();

Answers

Answered by Oreki
0

Output:

A

AB

ABC

Explanation:

Answered by ipsa119
0

Answer:

A

AB

ABC

Explanation:

this us the output

pls let me know if it is correct

Similar questions