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

What has happened to china's GDP since it began to reform its economy?
the earth temperature different between the equatorial and polar region​
I am horrible at math can someone help me
Plays are made up of: Group of answer choices dialogue stage directions acts or scenes all of the above
The charge for a telephone call costing 12 cents is increased by 10% what is the new charge?
What did the events of 1986 show about American’s views on politics at the time
Which statement would be true of a membrane-bound protein that works in conjunction with a sodium–potassium pump during secondary active transport?.
A business must decide whether to open a new office in China. If it opens the branch, it will increase its chances of selling a high volume of its products in C
Which is better? 12 car washes for $100 or 5 carwashes for $45?
An inflated balloon is an example of system:​