Computer Science, asked by shivanshsaxena117, 11 months ago

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 dia190
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 hanockgamer611
4

Answer:

friend your answer is 50,0

Similar questions