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 separation between ownership and management is most likely to occur in a:
Briefly describe the way in which slaves were treated?
I'm sure how to find the LCD to thing problem
Kelvin and Marsha are going to dinner and a movie this evening. Kelvin wants to have at least 70 cash in his wallet. He currently has $10. How much money, x, do
self-disclosure is _____. a picture you have of yourself, in light of how others view you the ability to interact with others in a manner that is honest and app
multicellular organisms have many cells. what is the one other characteristic they must have before they can be called multicellular? a. the cells must be small
The simplest way to gain weight is to A. exercise several hours a day. B. figure out where in your day you could eat more food. C. eat several protein bars each
. List five (5) effects alcohol has on the body’s central nervous system
there are 40 students in a class, 23 have dark hair, 18 have brown eyes and 26 have dark hair, brown eyes or both how many students have neither dark nor brown
Seven fewer than a number