Give output
char ch;
int x = 65;
do
{
ch = (char)x;
System.out.print(ch + " ");
if(x%2==0)
break;
++X;
}
while(x<=70);
Answers
Answered by
2
Given Snippet:
char ch;
int x = 65;
do {
ch = (char) x;
System.out.print(ch + " ");
if (x % 2 == 0)
break;
++x;
} while (x <= 70);
Output:
A B
Similar questions
English,
2 months ago
English,
2 months ago
Social Sciences,
4 months ago
Math,
4 months ago
Environmental Sciences,
10 months ago
Biology,
10 months ago