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

Identifying the Steps of the Scientific Method Directions: ● Read the following statements & match the statement letter(s) to the questions below. ● Some qu
A large city has been financing all of its services through property taxes and sales taxes. As the cost of services has been increasing, the city has found it n
Which list of numbers contains ONLY integers? π, 32, 7π, 32, 7 5,0,−35 comma 0 comma negative 3 3.2,0,−23 point 2 comma 0 comma negative 2 −30−−√, −85, − 6π
Find the approximate side length of a square game board with an area of 189 in².
A certain bank account is offering an interest rate of 2.4%. If you invest $1,500.00 today and the interest is compounded continuously, how much money will you
the organs taste are the …………which are mainly located on the tongue . a) Taste buds, groups of cells b) Taste buds, are groups of cells c) Groups of cells, are
Pls Help! i’ll give branliest if u answr all!
29. The formula below is often used by project managers to compute, E, the estimated time to complete a job, where O is the shortest completion time, P is the l
What was geographically distinctive about the development of civilization in the Americas?
help me please!!!!!!!!!