Please help me on this coding problem :)
Consider the following code segment.
int a = 0...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 31.03.2021 02:00 Turtlelover05
Please help me on this coding problem :)
Consider the following code segment.
int a = 0;
int b = 3;
while ((b != 0) && ((a / b) >= 0)
{
a = a + 2;
b = b - 1;
}
What are the values of a and b after the while loop completes its execution?
a = 4, b = 1
a = 0, b = 3
a = 6, b = 0
a = 8, b = -1
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:30, ibrahimuskalel
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 13:00, alexacarillo
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
![image](/tpl/images/cats/informatica.png)
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.03.2020 08:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.03.2020 08:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.03.2020 08:40
![Konu](/tpl/images/cats/informatica.png)
Computers and Technology, 11.03.2020 08:40
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.03.2020 08:41
![Konu](/tpl/images/cats/User.png)
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.03.2020 08:41