Computer Science, asked by rishika936, 2 months ago

Rewrite the following program segment using while loop for
(char ch='A'; ch<='J'; ch++)
{
int r=ch;
System.out.println(ch + "1" +r);​

Answers

Answered by Rachel2004
1

Answer:

char ch='A';

while(ch<='J')

{

int r=ch;

System.out.println(ch + "1" + r);

ch++;

}

Similar questions