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

Below are two parallel lines with a third line intersecting them.
the relationship between frequency and wavelength is: a. direct b. inverse c. not related
One good way to improve your gas Milage is to ___. A. Accelerate as slowly as possible B. Accelerate smoothly and directly to a safe speed C. Inflate your ti
Is (0,7) a solution for the equation 2x + y = 6
Which of the following is a constructive way to eliminate boredom at work? a. skipping work b. surfing the Internet c. setting personal and professional goals d
10 points Begin an original sentence with a subject, followed by a verb
What was the Trail of Tears! A What slaves called their trip from Africa to America B When slaves were sold away from their families The road that took slaves n
Please help !!!!!!due today The dot plot represents student scores on a math test. a. How many students took the test? 40 50 60 70 80 90 b. What is the median s
The Sino-Japanese War exposed military weakness inO A) ChinaOB) JapanOC) Korea.OD) Russia.​
What were ancient Rome’s physical streets like ? How are they different from out streets in the United States today ?