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

working to improve the working conditions in a factory is an example of what?
The Supreme Court’s jurisdiction includes
Iowa, illinois, and indiana would experience clouds caused by all of the lifting mechanisms, except _____.
what steps were taken during Reconstruction to rebuild the South and preserve the rights of African Americans
The Piedmont region is represented by which number on this map of Georgia?
Slavery and states' rights were two large issues resulted in a country rife with sectionalism. What other two issues divided the U.S. leading to the Civil War?
how to use the zero product property and factoring solve for X
Simplify the complex number i^39 as much as possible.
A dreidel is a top with four sides, used in a Hanukah game. The sides are labeled with the Hebrew letters, nun, gimel, hay, and shin. A dreidel is spun 100 time
What is one main characteristic of secondary sources intended for academic and students