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

So I’m doing this chemistry lab thing but I’m not sure which one it is.
Solve for X, Leave in simplest radical
ANYONE GOOD AT MATH PLEASE HELP!!!!!​
What is the resultant of two displacement vectors having the same direction? Question 16 options: The resultant is the sum of the two displacements having the s
The heart appears to be divided in half, with two separate sections for receiving and pumping blood. Where does each half receive blood? to where does each half
An association needs someone to plan the agenda; work within a budget; select the city or convention site; negotiate contracts; coordinate travel; arrange for a
Which is the best example of an appropriate research question? Select one: What were the main causes of World War II? Who lead each army during World War II? W
you need to find the height of the cylinder
What is the binary code for line 6? * 1 point A O 0111111111110 O 100000000001 O 0101000101010 helppp
Solve for x. 8.7 +X = 7 1.1 X = [?]