FlowYT
FlowYT FlowYT
  • 13-09-2018
  • Computers and Technology
contestada

c++ Question: what is in the blanks?
code:
int x = 24;
int y;
y = _-12;
cout<<_<<endl;

Respuesta :

tonb
tonb tonb
  • 13-09-2018

You didn't specify what the program should output, so there are many possibilities that result in a working program. It *looks* like this was intended:

int x = 24;

int y;

y = x-12;

cout<<y<<endl;

and it will display 12.

Answer Link

Otras preguntas

Please help no BOTS!
The number p and 2/3 are additive inverses. Drag and drop 2/3 and p to their correct positions on the number line. Drag and drop the label “Sum” to the sum of 2
The graph shows the taxi fare, y, in a city, for a distance of x kilometers. Which statement is true? A. The total fare changes by $4 per kilometer, and it wil
Simplify the expression 4(-y+2) -3y
What are El Nino and La Nina in science? Will give brainliest
How can we spread the light of Jesus to others
what is 3/4÷1/8 and why is
there !! sorry but please help :((
What is the slope of the line that passes through the points (-10, -4)(−10,−4) and (10, -29) ?(10,−29)? Write your answer in simplest form
Can someone plz help me? :(