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

Please answer this question correctly
A scientist observing a group of spider monkeys noticed that the adult females often spend time picking leaves off of tree branches. The scientist hypothesizes
Why did The First and Second Banks of the United States fail?
what I 18 divided by 200 =
-3-y=24 y=3x solving systems of equations by substitution
i need a sentence with the word historically
what is the declaretory act
The area of a rectangular field is 7007 yd2 . If the width of the field is 77 yards, what is its length?
How did the rise of the Knights of Labor impact the Populist movement in the late 1800s? The rise of the Knights of Labor led to the creation of granges and far
what is "Linear Mime"