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

An organic molecule will always contain _____. a.carbon b.carbon and hydrogen c.hydrogen d.O, H, and C
8/12 in simplest form
10=c+d c is one more than d what is the value of c?with working out
Force of attraction between the Earth(m=5.98x10^24) and a 70 kg student. distance of 6.38x10^6
4.9 = h - 2.6 what does the h equal
Last Year, a state university received 3,560 applications from boys. Of those applications, 35 Percent were from boys who lived in other states. Part A)How many
Without selective breeding, dogs today would probably have a greater number of differences. T or F
Which feature is found in both prokaryotic and eukaryotic cells? A. lysosome B. nucleoid C. cytoplasm D. nucleus
a deep crack formed by diverging tectonic plates
Ribosomes can be found on the surface of the endoplasmic reticulum and suspended in the cytoplasm. True or false