What is the output (1)
Captionless Image
Answers
Answered by
2
Answer:
pls mark as brainliest
Explanation:
The output of the given code is "Hii".
Explanation:
In the given question snip is missing, so, we add another the snip and define its output:
In the code inside the main method, an integer variable "xi" variable is declared that holds an integer value "2".
In the next step, do-while loop is declared, in do section we print the message that is "Hii", and in while the check is a value that is "xi less than 2".
The condition is false that's why it will print the "Hii" message in a single run.
Attachments:
Answered by
0
Answer:
what is the output for the given code
*
1 point
Captionless Image
160
2560
25600
CTE
Similar questions