marcbeaubrun marcbeaubrun
  • 10-05-2017
  • Computers and Technology
contestada

How many times does the following code execute?
int x=0;
int y=3;
While x<=y
x=x+1;
endWhile

A. 0B. 3C. infiniteD. 4 Program design and development

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 11-05-2017
The first time the while statement is evaluated, x = 0 so the answer is D. 4
Answer Link
iCryptic
iCryptic iCryptic
  • 12-05-2017
Infinite because it is a infinite loop that is true and the first two lines were just declaring variables
Answer Link

Otras preguntas

Which expression is a factor of x2 - 5x - 6? A. X-6 B. X - 2 C. X-3 D. X-1
I think of a number multiply it by 5 and subtract three from the result . what number am i
Which numbers can be placed in the blank to make the value of this expression a negative number? (-16) -​
Select the correct answer from each drop-down menu. The (democratic or Republican Party) platform calls for government regulation of the economy and protection
a recipe for 12 walffles calls for 1 1/2 cup of milk, 2 1/4 cups of flour, and 1 1/3 cups of other infredents. how many cuos of milk, flour, and other ingredent
uhmmm i need help someone please
PLEASE HELP MEE!!!!! BRAINLIEST & 50 POINTS
another term for obelus.
how did the chicago community respond to the jbts? what were the outcomes for the victims of the scandal??
The requirements for a portfolio could include all of the following EXCEPT Ο Α. the kind of art B. the size of the art OC. the color of the art OD D. the medium