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

A potter use 3/5 of a pound of clay to make a bowl.How many bowls the potter make from 10 pounds.
The diagram below shows the graph of which inequality?
Advantages and Disadvantages of Malls
how can I solve this equation.
1,352 pounds is what fraction of a short ton
A potter use 3/5 of a pound of clay to make a bowl.How many bowls the potter make from 10 pounds.
Why was the French alarmed after the Belgium government seized the Congo from King Leopold?
how do sieve tubes elements group to make sieve tubes
2x squared + 9x=-5 i need to solve for x
what is the result when 4x^2-17x+36 is subtracted from 2 x^2-5x+25?