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

The distribution of the amount of money in savings accounts for Florida State students has an average of 1,200 dollars and a standard deviation of 900 dollars.
How does a circuit breaker protect a refrigerator?
Evaluate the expression for x = 29.
expressions that is equivalent to 18x + 3.
What's the length of one leg of a right triangle if the length of the other leg is 24 units and the length of the hypotenuse is 25 units?
Hamood backwards is hamood
Find the discriminant of 3x^2 - 10x = -2 I don't know what a discriminant is help
Does the quadratic have a maximum or minimum vertex, and does the parabola open up or down? A)max/ opens up B)max/ opens down C)min/ opens up D)min/ opens down
The energy principle states that: Energy can be destroyed. Energy can be created. Energy cannot be created or destroyed. Energy cannot be created, but it can be
Does the table represent a function? Why or why not?