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

what is the cause and effect for the french citizens armies win their revolution for liberty and equality
solve 2/3 + 1/4x = 1/3
Which word is an interjection commonly used in advertising?
FACTORIZE. 9x2y-24xy2-16y3 solve it
How do u write 6 more the 7 times a number is 41 in algebraic equation??
The circumference of a circle is 6.28.What is the area of the circle?
The neolithic revolution is most closely associated with....
The graph of y = 4x - 11 is translated up 8 units. Which equation represents the translated graph? f y = 4x - 19 g y = 4x - 3 h y = 12x - 11 j y = 12x - 3
what is the cause and effect for the french citizens armies win their revolution for liberty and equality
what is the cause and effect for the french citizens armies win their revolution for liberty and equality