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

Describe an infinite geometric series with a beginning value of 2 that converges to 10. What are the first 4 terms of the series
California was important to the fulfillment of the manifest destiny dream but also gave the United States all of the following: (select all correct answers) -Tw
Which types of heat transfer involve heat flow from hot objects to colder objects?
Let x = 3 and y = 2. Select from the drop-down menu to create a true statement. 5y^2-2x
Write an expression that represents the product of q and 5 Divided Into 5
what is the fraction 8/25 as a decimal
Which part of the document makes it clear that the United States supports the formation of the state of Israel?
Which of the following influenced the dawn of the resistance in Europe
0.8 divided by 51.44
How many centimeters are there in 1 yard if there are 2.54 centimeters per inch?