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

a period of abnormally high emotion and activity is called??
Determine the part of speech for the italicized word in the sentence below. The pink pig clapped (wildly). adverb interrogative noun adjective verb
Which three components make a strong inference? A. prior knowledge, good inferences, and personal experience B. personal experience, evidence from the text, and
find the sum to the equation of:
WHICH COUNTRY CONTROLLED THE OREGON TERRITORY AT THIS TIME? AND IN WHAT YEAR WAS TEXAS ANNEXED TO THE U.S.?
What does sectionalism mean in social studies?
Which type of macromolecule is made of amino acids
Name the countries that border Nepal and Bhutan
8. Which statement best describes the Richter scale? A. It's named after a scientist who studied tornadoes. B. It's a numerical rating system that measures
how did Hollywood ten demonstrate the nations anti-communist hysteria