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

Please help! I need the answer quick....
What is the name of the rhetorical device that Franklin uses in his reference to the words of “a certain French lady” ?
Does your opinion about the artwork change the longer you look at it? Why?
State the name of the property illustrated below. (23+ 8) + 5 = 23+ (8 + 5) What property is used
nida is buying a small storage box online. She sees a cube box with volume of 125cm^3. What is the length of each box edge?
which group of pirates attacked villages as well as ships? A-Barbary B-Portuguese C-Chinese D-Vikings
PLZZ HELPP ILL GIVE BRAINLIST What is the "Cabinet?"
Write a concise and objective summary of Christopher Reeve's speech. The first sentence of the summary should identify Reeve's purpose and audience. You should
all about mexico hi if you dont mind could you give me a small paragraph on that topic. thank you.
For his craft project, James bought 2.1 feet of ribbon? How many yards of ribbon did he buy?