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

Round 24.316 to the nearest tenth
For case of a 5-item order,how many different ways are there to place an order? For each case,list the number of wheels that would be needed?
Four girls and two boys are working on an art project. they have four square pieces of felt. each person gets an equal share of the felt, how much of a piece of
whereas today we have only two modes (major and minor), medieval composers had _______ additional modes. a. four b. three c. six d. five
what is the greatest common factor of 24,30,42
When making pink paint, the art teacher uses the ratio 3:2. For every 3 cups of white paint she uses in the mixture, she needs to use 2 cups of red paint
what does god's response to each act of creation suggest about his work? a. he wants to create other worlds. b. he is pleased with what he has made. c. he makes
Determine the 12th term of the sequence 5,15,45
in one day 18 people each withdraw $100 from an ATM machine what is the overall change in the amount of money in the ATM machine
How long is 1250 cm in meters