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

what are gospels???????????????
joy is helping her father to build a rectangular deck that measures 14 feet by 19 feet find the area of the deck using a mental strategy explain your thinking
State one way in which persons become members of the representative (lower house)
Explain in your own words the quotation: "No man could tell what he would do if he were in the shoes of another man"
What is the LCM and GCF of 37 and 12
where is the speaker's hopes and dreams in bradstreet s poem
Whole numbers greater than 5 but less than 10
where is the speaker's hopes and dreams in bradstreet s poem
Identify the direct object in the sentence: " i sent a copy of my favorite novel for her birthday " a. i b. copy c. novel d. birthday
Joshua earns $8.20 per hour when he works at the college library. how much money does he earn if he works at the library for 4.5 hours