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 _____

Choices

120 and 60
60 and 30
5 and 10
30 and 60

Respuesta :

ThatKidx
ThatKidx ThatKidx
  • 09-03-2022

Answer:

30 and 60

Explanation:

Answer Link

Otras preguntas

why did southern plantaion owners support slavery
3 Correct these sentences. 1 The train goes from Paris to London takes less than three hours. The train which goes from Paris to London takes less than three ho
Chelsea invests $7,373 in a savings account with a fixed annual interest rate of 2.73% compounded 6 times per year. How long will it take for the account balanc
While you are standing on your front porch, you decided to walk to the end of your driveway, 10 meters away, and back to your front porch, what is your distance
Write a sequence of transformations that maps circle B onto circle A.
I'm making a India travel brochure for my geography class, but I'm lost on what to do. I'm most stuck on the foods section, where I find a Indian food, and expl
There is a picture inside the question pls help asap!!
What step does every scientific experiment begin with?
Which travels faster? An echo that forms in water or one that forms in the air?
What is the equation of a line with a slope of -1 and a y-intercept of -5?