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

Use trig to solve for x show work
water in a pan over a radiator evaporates much faster than a water pan in a table ???? i need help ppl
sophia has 3 pink tulips and 3 white tulips. what fraction of sophias tulips are pink
the length of a rectangle is 3 feet less than twice the width of the rectangle. if the perimeter of the rectangle is 324 feet, find the width and the length?
What is the Geocentric theory in your own words?
next term in sequence 61, 122, 244, 488
Evolution is: A) A change in the composition of a population from one generation to the next.B) A phenomenon that must be inferred from evidence, because it can
how does the carbon cycle work in the desert
y varies directly as x. if x=5 when y=12 find x when y=30
what is 20% of $45.00?