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 governing body rules most counties? County Districts County Boards County Justices County Seats
Consider a sphere of radius r centered at (0, 0, 0). Express the following sets in set notation. (a) The points outside the sphere. (b) The points inside th
The u.s. quarter has a mass of 5.67 g and is approximately 1.55 mm thick
Write a letter to your District Director of Education applying for the post of a messenger. State why you are the most qualified person for the job.
magbigay ng poster tungkol sa korapsiyong nangyayari sa ating bansa
Perjanjian London 1824 membawa kesan kepada Alam Melayu. Jelaskan. ​
The nth term of ye sequence is given by 3n + 2 A) how much does the sequence go up by between each term
Complete the Year 2 income statement data for Cute Camel, then answer the questions that follow. Be sure to round each dollar value to the nearest whole dollar.
When screening for STI‘s which of the following might be examined by a doctor
Maria works as a sales associate at a shop that sells mobile phone. One day a customer came in complaining that his new phone was not working properly and that