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

Mark if the statement describes an event or belief that led to the Crusades. A. The Byzantine emperor requested help from the pope. B. One of the English kings
Describe and account for the changes in the American presidency between 1960 and 1975, as symbolized by Kennedy’s “Camelot”, Johnson’s Great Society, and Nixon’
Which type of macromolecule is made of amino acids
Marcus is doing a science experiment in which he measures the rate at which bacteria multiply. Every 15 seconds, the bacteria double in number. If there are 10
How to balance chemical equations?
Which sentence does not contain any errors? A. How did the cat hurt its' leg? B. How did the cat hurt its leg? C. How did the cat hurt it's leg?
write the composite function that represents (goF)(x)
how many times do you need to divide 3055.9 by ten to get 30.559
Who is the most misunderstood person in history?
Which is made from the remains of dead marine organisms over millions of years? A. coal and oil B. oil and uranium C. coal and natural gas D. oil and natural ga