Seudónimo Seudónimo
  • 01-10-2021
  • Computers and Technology
contestada

To output age for the user which of the following you need to use?

A. int age;
B. cin>>age;
C. cout<<“age”;
D. cout<<“age”<

To output age for the user which of the following you need to use A int age B cingtgtage C coutltltage D coutltltagelt class=

Respuesta :

tsanger1992 tsanger1992
  • 03-10-2021

Answer:

D

Explanation:

A is declaring a variable

B is getting input from the user and storing it in variable age

C is outputting the word "age" to the screen

D is outputting the word "age" to the screen and then outputting the value of the age variable immediately after which is correct.

Answer Link

Otras preguntas

Drag the tiles to the correct boxes to complete the pairs not all tiles will be used
What conic section is drawn by the parametric equations x = csct and y = cott?
why did small states in particular prefer the New Jersey Plan? A.) it gave congress veto power over state law B.) it maintained a loose confederation C.) it rep
For a client with salivary calculi, which procedure uses shock waves to disintegrate the stone?
Which of these best describes the setting of the play
What value represents the horizontal translation from the graph of the parent function f(x) = x2 to the graph of the function g(x) = (x – 4)2 + 2
Which nation is responsible for 25% of global emissions and is the world's heaviest polluter?
the graph shows the high temputure on july 4th over a 15 year
whats the doctors name in doctor who!?
The _______ was the first sizable political organization formed by United States farmers.