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

Kings code essay business studies
Identify the community project and explain the services offered in addressing social or environmental issues in a community of your own choice
"God created the heavens and the earth" is a statement of: source knowledge faith knowledge empirical knowledge rational knowledge
10 ejemplos de personificación
Which events sparked World War I? Check all that apply.
Which word best completes the sentence? Is the girl's hair longer than her __________? A.sisters B.sister C.sister's
10 ejemplos de personificación
What is an anemometer used to measure?
Which statement describes an example of gene therapy? A.A virus is used to transfer human DNA into a bacterial cell. B.A defective gene is replaced with a norm
12. He yelled at Cindy ____ it were all her fault. A - as though B - like C - because D - although