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

Find the value of x.  Round to nearest hundredth if necessary.
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
If a slope of a line is 2/0 is it 0 or undefined?
Explain how a species can evolve through natural selection.
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
How do scientists use seismic waves to determine the interior structure of Earth?
How did scientists discover the common structure of cells?
If a slope of a line is 2/0 is it 0 or undefined?
How do you Factor c(squared)-8c ??
Explain how a species can evolve through natural selection.