starsstayforforever starsstayforforever
  • 09-03-2022
  • Computers and Technology
contestada

Determine the value of a and b at the end of the following code segment:

int a = 5;
int b = 10;
a++;
b*=a;
a = b + b;

The value stored for a is _____ and the value stored for b is _____

Respuesta :

ThatKidx
ThatKidx ThatKidx
  • 09-03-2022

Answer:

15 and b is 20

Explanation:

Answer Link

Otras preguntas

Describe and correct the error in the reasoning. a is parallel to b by the Consecutive Interior Angles Converse
A snowboarder slides down a hill in a straight line with an acceleration of 2 m/s2. Down the hill, the snowboarder passes a person who starts their stopwatch at
A university law school accepts 3 out of every 13 applicants. If the school accepted 255 ​students, find how many applications they received.
Which leader is credited with improvements to the government listed below? established seperate departments for farming, the military, and the treasury each dep
3x – 2 ( 6x – 3 ) = 42
Which among the given set is a function A = [(4,6), (A, B), (A, 6)]C = {(6,9), (6,6), (6,9)B = [(1, Z), ( 2, Y), (3, X)]
The measure of an angle is 70.9°. What is the measure of its supplementary angle?
school children shared oranges as follows .Jonas got 1/3 of the total and the remaining were shared between Mary and Rejoice in the ratio 3:2. if Rejoice got 24
9. Is oxygen necessary for the production of ATP in your cells? Why or why not?
what is the answer to this please help 9/5 + 2 + 15/3