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
1
Answer:
char ch='A';
while(ch<='J')
{
int r=ch;
System.out.println(ch + "1" + r);
ch++;
}
Similar questions