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

Tamika is ordering a taxi from an online taxi service. The taxi charges $3.50 just for the pickup and then an additional $0.75 per mile driven. How much would a
If n,6 M are in geometric sequence n,7.5, m are in arithmetic sequence ,then find the value of n and m?​
Write down the formula of finding dependency ratio.
Solve the following for c: 10c + 12 = - 48
The extent of vibration is called__It determines the __ of the sound produced.​
1. А 3 kg red ball moves at 4.50 m/s. How fast must a 50 g white ball move to have the same kinetic energy as the red ball? help me please!!!!!!
1. How much electrical energy is needed to bring two charges Q1= 5.5 x 10-7C and Q2= 1.7 x 10-6 C from infinity to where they are 1 meter apart.
please help I have to turn this in by the end of the night
please help meeeeeeeeee
find the value of X ​