subject

2’

Increment & Decrement – Find The Bugs!
The following code is intended to increment / decrement A and B until A is equal to X and B is equal to Y. Find the bugs!

(int a, int b, int x, int y)

{

while (a != x && b != y)

{

if (a > x)

{

a++;

}

else

{

a--;

}

if (b > y)

{

b++;

}

else

{

b--;

}

}

}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
You know the right answer?
2’

Increment & Decrement – Find The Bugs!
The following code is intended to...
Questions
question
Mathematics, 19.08.2020 14:01
question
Law, 19.08.2020 14:01
question
Mathematics, 19.08.2020 14:01
question
Mathematics, 19.08.2020 14:01