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

Please Helpp!!!! Pythagorean theorem
Mars moves in an elliptical orbit around the Sun. The location of the Sun relative to this ellipse is
Explain how do we see Indian inventions today? I will Mark brainiest
can someone please help me with this? I have been stuck on this assignment for a while D: thanks in advance, if u help will give brainiest :D
Procrastination is best defined as A. avoiding an unpleasant task by occupying yourself with something less urgent B. identifying the most important or urgent t
help please!!!!!!!!!
can someone pls help me?.!.!.!.’x
The 50 species of hawaiian honeycreepers evolved from how many founding species?.
what is the area and radius of a 10 inch circle?
12 Drag the tiles to the correct boxes to complete the pairs. Not all tiles will be used. Match the functions with their periods. y=-3tan3.r y=6sin3r 2.1 y=-4co