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

As described in this study unit, which of the following is the key to a quality child care center? A. Equipment and supplies B. A sound budget C. Location D. S
Which type of rock (metamorphic,sedimentary,igneous) can you find fossils in?
If you know that a person is running 100 feet every 12 seconds, you can determine their __________. a. acceleration b. force c. mass d. velocity
What did john Locke believe?
Karen says every equilateral triangle is acute. Is this true? Explain
What is the meaning of prudent?
Who founded Students for a Democratic Society? a. Tom Hayden and Al Haber b. Stephen Gubar and Mario Savio c. Barry McGuire and Mario Savio d. Stephen Gubar
Advise a friend who responds to conflict by confrontation on why it is not healthy in sustaining positive relationships
A residual commission structure is especially attractive to whom?
A magnified cross-sectional view of a horsetail stem shows the tube-shaped cells of xylem. What is their function?