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

When choosing between continuing an argument and walking away, which situation supports walking away as the better option?
Which sentence from the passage MOST directly addresses theme? A) She felt the drag of a lean and narrow life. B) A pleasant side to his nature came out here.
Supposed that you balance your checkbook and find that you are overdrawn by $20; that is, your balance is -$20. Then you go to the bank and deposit $38. Transla
a flask of 5 litres capacity can with stand a pressure of 10atm and is filled co2 at 27°c and 760mm of hg pressure. at what temperature will it explode on heati
If the daily dose of a drug is given in the literature as 8 mg/kg of body weight or 350 mg/m2, calculate the dose on each basis for a patient weighing 150 lb an
community swimming pool has a deep end and a shallow end. The volume of water in the deep end can be represented by (2x^3 + 12x2 + 10x) ft^3, and the volume of
Six less than the product of 8 and a number equals 5
What is the equation if the line passes through the point(2,4) with slope of 3/4
Translate the following verbal expression into an algebraic expression. A. Seven decreased by 3 times some number B. Twice the difference of p and 10 C. 4 t
Please answer this correctly