char ch ; int x = 97; [2] do { ch = (char) x ; System.out.print( ch + “ ” ); if ( x % 10 = = 0) break ; + + x ; } while ( true );
Answers
Answered by
5
Explanation:
Ans. The do-while loop runs for values of x from 97 to 100 and prints the corresponding char values.
97 is the ASCII value for a, 98 is the ASCII value for 99…
So, the output will be
a b c d
Answered by
4
Answer:
friend your answer is 50,0
Similar questions
Social Sciences,
5 months ago
Math,
5 months ago
Chemistry,
11 months ago
Computer Science,
11 months ago
Math,
1 year ago