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

Which of the following is a benefit of good exercise equipment? It requires a lot of assembly to use. It improves the efficacy of workouts. It does not account
65.656 36,699 33.335 +66,668
easy points !! HELP PLEASE
For a school fundraiser, Gerardo buys 4 raffle tickets and Maria buys 10 raffle tickets. Altogether, the school sells 100 tickets. Winning tickets will be drawn
Directions: Write <> or = between each pair of rational numbers -2 5/12____-2 3/4 -92____-15/16
True or False. Within an Agent Handler group, if the handler with the highest priority is unavailable, the agent will fall back to the handler with the next hig
An irregular chunk of iron has a density of 7.87 g/cm3. A 14.5 gram chunk is added to a graduated cylinder. If the final volume of the graduated cylinder is 39.
4+8+12=3x8 the next equation is
25 liters to gallons​
Plot the image of point P under the translation (x,y) —> (x-4, y-6)