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

What were the two names of the two major Alliances competing for power in Europe
A rift valley can form where two continental plates are a. moving apart b. colliding
Modern written numbers were first developed by the mathematicians of china
Which were accomplishments of Galileo or obstacles he faced? Choose all answers that are correct. a. invented three laws of motion b. made telescopic observatio
How does sand becomes a form
In which sentence does the verb agree with the subject? a. Neither braids nor a ponytail keeps my hair out of my eyes. b. Dominoes or a board game are a good c
if you have 319 divided by 4 then what is the quotient and the remainder
Whom is Arete a descendent of?
Mark each statement if it accurately describes Greek architecture. A. Architects showcased Spartan deeds. B. The sculptor Phidias created a giant
write 144 with an exponent by using 12 as the base