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

Mr. Sparks asked his science class to write down six ways they can reduce their carbon footprints at home. Becky created this list of items. Which items in Beck
A triangle has two sides of lengths 4 and 7. What value could the length of the third side be ? check all that apply A.3 B.5 C.7 D.9 E.11 F.17
how is the minsters black veil an allegory
Do anybody know please help
4. What are the values of x and y?
Historians who wrote during the turn of the twentieth century tended to focus on political and military events and themes, while historians who wrote during the
If the theoretical yield of a reaction is 26.0 grams and you actually recovered 22.0 grams, what is the percent yield?
Every part of planet earth is touched by the
Find an equation parallel to x = -9 and passing through (-1, -1).
The United States' Buffalo, NY, and Canada's Ft. Erie, Ontario, lie across the Niagara River from each other. Which of the following situations is most likely t