Computer Science, asked by AnjaliSingh2690, 1 year ago

What is the output for this question?

Attachments:

Answers

Answered by alok9581
0

Answer:

a,

b,

c,

d,

Explanation:

In the starting x=97. Then the do while loop starts,

each time the corresponding character will be printed and this will continue till the value of x reaches 100. As soon as the value of x becomes 100, the if condition will become true and the break statement will take out the control out of the loop.

ASCII codes for characters

a -> 97

b -> 98

c -> 99

d -> 100

For more help, you can see my channel, AMPLIFY LEARNING on Youtube.

Answered by soddie
0

Answer:

the answer is

a

b

c

d

hope it helps

Similar questions