Answer:
a = 6, b = 0
Explanation:
The loop ran 3 times before b == 0. "while ((b != 0)" is essentially saying: 'While b is not equal to 0, do what's in my loop'. Same general thing with "&& ((a / b) >= 0)". The "&&" is specifying that there should be another loop condition, while the rest states: 'as long as a ÷ b is greater than 0, do what's in my loop'. If both of these conditions are met, the loop will run, It will continue this until the conditions are not met. Hope that helped! :)
Hey there!
The correct answer would be - Option B.
Hope this helps you!
Answer:
I highly recommened you use ggl charts.
Explanation:
It's free. ALL YOU NEED IS AN GGL ACCOUNT. You can also choose many types of graph you want.
Answer:
Declare variable b in both lines
i.e. int b
Explanation:
In the given code, the parameters of both functions were not properly declared.
When listing the parameters, the data type must be clearly stated for all parameters (individually)
In the declaration of both functions, only variable a is declared as integer while b is undeclared.
So, the correction is to declare b as integer