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 has 312 books in his bookcase . he has 11 times as many fiction than non fiction. how many fiction does he havr
A verb that is commonly used in sentences with indirect objects is ____. a:wait b:offer c:went
You are paid $78 $78 for 6 1 2 612 hours of work. What is your rate of pay?
X over 15 = 10 over 20
wanna write a report about explanation or arguments (the diff between them ,adding some quotes and examples )
A heat energy of 645 J is applied to a sample of glass with a mass of 28.4 g. Its temperature increases from –11.6 ∞C to 15.5 ∞C. Calculate the specific heat of
Which phrase best symbolizes the world as Arnold’s narrator describes it for his love?
3/8 of a mile is what
What events occurred between 1850 and 1950 that influenced the size of the national debt?
25% of 860 programs is how many?