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

The general idea behind the electron transport chain is : that ADP is converted to ATP that electrons are shuttled down the chain of electron acceptors, until m
Which remained independent of the United States? Hawaii Puerto Rico Mexico The Philippines
What belief causes Creon to decide at last that his decree about Polyneices's burial is against the gods' will? a. Teiresias's anger is a sign that he speaks o
Explain the Delian League.
7002 divided by 52 and show your work.
the many rows of sharp, jagged teeth on some sharks is an example of an
How are common denominator and a multiple alike and different
Tsar Nicholas II and Tsarina Alexandra were the Romanov rulers of Russia when the Bolshevik revolution took place in 1917. During this revolution, Tsar Nicholas
Which Enlightenment philosopher promoted the principles of separation of church and state along with freedom of the press?
The resale value of a textbook decreases by 25% with each previous owner. A new textbook is sold for $85. Which function represents the resale value of the text