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

How would I find the slope intercept form of x+y+3=0?
A particle is moving along the x-axis so that its position at any time t is greater than and equal to 0 is given by x(t)=2te^-t?A) Find v(t). B) Find a(t).C) At
What role should the government have in enforcing equal rights for Americans?
What does an acid+base make
Two identical capacitors are arranged in a circuit. What is the ratio of the equivalent capacitance of the circuit when the capacitors are in series to that whe
What holds calcium chloride together? A. hydrogen bonding B. metallic bonding C. ionic bonding D. dipole forces E. van der Waals forces (London dispersion force
Force and Motion: Force changes _________.
Who was the first person to walk in the moon
1.Which sentence contains an adjective clause?    A. Pizza, which many people love, can also be nutritious.  B.Thin-crust pizza with low-fat cheese has fewer ca
BY using eight eights  and addition only can you make 1000?????/