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

List all integers between -0.6 and 4.17 THANK U
Compute the odds in favor of rolling a sum of 10 in a single roll of two fair dice
wats the 60% off a prize that is $20.00
A graph depicts force versus position. What represents the work done by the force over the given displacement? A. The work done is equal to the product of the m
2-3 facts about Warsaw Pact
Tennis balls with a diameter of 2.5 in. are packaged 3 to a can. The can is a cylinder. Find the volume of the space in the can that is not occupied by tennis b
What are the operation sines that make this statement correct? 3_5_7_18_3=14
f f(x) = 2x2 and g(x) = 3x, what is (g o f)(x) a. 6x2 b. 9x2 c. 18x2 d. 8x4
can u tell me how to solve this promblem 4/7 plus 3/7
What are the operation sines that make this statement correct? 3_5_7_18_3=14