jordanlaster2206 jordanlaster2206
  • 21-03-2024
  • Engineering
contestada

What is the value of ans after the following code has been executed?
int x = 15;
int y = 20,
ans = 80;
if (x > y)
ans = 0
ans = ans + y

A.15
B. 0
C. 100
D. 20

Respuesta :

Otras preguntas

Identify the slope and y-intercept of the graph that represents each linear situation and interpret what they mean. Then write an equation in slope-intercept fo
Choose the sentence that is written Incorrectly. Everyone except season ticket holders are excluded from the special offer. Because the student does not study,
Find the length of the third side. If necessary, write in simplest radical form.
How to express a mixed number as a percent
how does dickens show the transformation of scrooge’s character in a christmas carol write about: • how Dickens shows the transformation in stave 5 • how Dicken
Define student and teacher
I smiled at the old man_______,I recognized him,_______he's my neighbor.​
what is another name for yugoslavia
What is an aqueous solution? (can you simplify the definition to 1-2 sentences, please, and thank you)
2 pts Question 17 Thor Heyerdal's expedition with the Kon-Tiki is significant because it O proved that Vikings like himself settled the islands of Polynesia. pr