What is the output for this question?
Attachments:
Answers
Answered by
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
0
Answer:
the answer is
a
b
c
d
hope it helps
Similar questions
Math,
7 months ago
Science,
7 months ago
Political Science,
7 months ago
Science,
1 year ago
English,
1 year ago