amberwhite80 amberwhite80
  • 22-03-2024
  • Social Studies
contestada

How many times will the loop iterate, if the input is 105 107 99 103?
x = scnr.nextInt();
while (x > 100) {
// do something
x = scnr.nextInt();
}
a) 1
b) 3
c) 2
d) 4

Respuesta :

poohvvgccyytxxt poohvvgccyytxxt
  • 22-03-2024
b, 3 becUse if the input js 105,107,99,103 then its b, 3.
Answer Link

Otras preguntas

Need help with this math problem
Consider that your profit-maximizing quantity of 500 can be produced at an average cost per unit of $9 and sold for a market price of $14 What is your profit pe
Please help with my French hw
pls help. Have tried this problem a couple times but my answers didnt work
I need so much help with this question
i dont get it PLEASEE I NEED HELP
I need to know what is true about simple meter
what is a major difference between political parties and interest groups?
Complete each sentence by writing a superlative and the... B. Complete each sentence by writing a superlative and the appropriate definite article. mejor | mayo
6. Kendrick bought 4 bags of bagels. Every bag had a dozen bagels. How many bagels did Kendrick buy?​