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

(03.01 MC)Your neighbor, a 45-year-old friend of your family, has asked you for advice about muscle strength. She wants to know whether it is too late for her t
In Ancient Greece, people could decide what to do with citizens who broke the law. The group of people who decides what to do with the criminal is called
How was the korean war different from other u.s. wars apush?
True or false mutations normally produce a beneficial change in an organism after many generations
I need help plz answer quickly Thank you
44.69 rounded to the nearest tenth
What is montag willing to do to convince faber to help carry out the plan? farenhiet 451?
Which of the following sentences is written in active voice? A. By Eric, what life would be like if he had an unlimited bank account was imagined. B. What
A tent forms an equilateral triangular prism, with both triangular faces exposed. each side of the triangular face has a length of 196196196 centimeters (\text{
What is the answer to the equations