Computer Science, asked by catherinehenrycvn9c, 2 months ago

How many times the loop will be executed and what will be the output of the following questions?
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 ankita3998
1

Answer:

output

abcd

loop will execute 5 times

Similar questions