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

This is a college program that prepares students to become officers in the U.S. Military. In exchange for a paid college education students commit to serve in t
when atoms are split, they release energy. this concept applies to
List the causes of World War I and the war's effects on social, economic, and foreign policy in the United States?
3,429,111 what is the value of 4
who lead the rebellion against shi huangis harsh rules
Please can you help me with this questions. Thanks.
Please help. My so called "friend" didnt want to help.
Many contemporary researchers believe that __________ in infancy have life-long implications for healthy personality development. a. adequate sleep b. adequat
Over time, pollution generally leads to which of the following? A.healthier plants B.healthier animals C.a decrease in population of some plants and animals D.a
The specific gravity of basalt is about