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

If R is the midpoint of QS , find QS (QR = 5x-3 and RS =21-x)
Uncle Ian spent $59 at a book store. He bought science fiction and mystery novels. The science fiction novels cost $7 apiece and the mystery novels cost $9 apie
When were the dark ages in china
Joana spent $145 on groceries and after tax the final amount was $156.6. What was the tax rate​
Can Someone Help Me?
What expression is equal to the expressions 4x-2(3x-9)
At what type of boundaries do earthquakes occur? List a location where they are common.
Study the sentences below. The information looks like a paragraph, but it’s not. Can you figure out why? An Italian named Marconi invented the radio. The first
The points (3,9) and (-3,-9) are plotted on the coordinate plane using the equation y= a•x. What is the value of a?
A paper has an area of 598 square centimeters. What is the paper's area in square inches?