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 hellp please hellp fast.​
How would you characterize what you learned about America's racial and history? For example, what is the conventional wisdom you have heard surround ing Whites,
X/8 - 9 = 1 Solve for x
which of the following is the probability that when rolled a die will come up with either a 1 or 2?​
SOMEONE PLS HELP ME W THESE 5 SPANISH QUESTIONS ASAPPPP!!!!!
what would the shape be? i'm very confused
-4x^2+10x-8 how many distinct real number zeros does it have
Please can someone help?
The stock of Company A gained $0.98 throughout the day and endedat a value of $98.98. By what percentage did the stock rise?​
You own a portfolio of two stocks, A and B. Stock A is valued at $6,124 and has an expected return of 14.5 percent. Stock B has an expected return of 7.8 percen