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

Help finish this please
Which of the following is not an example of a common useful text feature
Members of a species can recognize mates using _____.
"select the method that promotes safety by determining which specific element of a job led to a past accident."
The strength of the woodwinds section is
A sweater originally priced at $80 was marked down by 25%. What was the sale price of the sweater?
Perhaps you would like to know more about the believes of tibetan buddhists. a. beliefs b. beleaves c. belifes d. correct as is
Cuando llegas a otro país es necesario pasar por la _________ si tienes algo para declarar.
People who keep domestic animals are strictly liable for any harm inflicted by the animals.​ a. True b. False
Stalin wanted to build a military base in _______.