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
0
Output:
A
AB
ABC
Explanation:
Answered by
0
Answer:
A
AB
ABC
Explanation:
this us the output
pls let me know if it is correct
Similar questions