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

is 3/12 simplified 1/4
Is there a word or phrase that means someone doesn't see the obvious, and if so what is it.
What is 0.125 rounded to the nearest hundredth
Which of these has a y-intercept of (0,7)? Is it (A) f(x)=7(x-1)(x+5) (B) f(x)=3x(x-7) (C) f(x)=xx+2x+7
what is the probability that a randomly selected dunlop tire lasts between 65000 and 80000 miles?
Part of the process of the domestication of animals included selective breeding. Which of the following best describes selective breeding? breeding as many anim
which tool would you use to measure the height of a cube of metal
What did rich men wear in the 1600s?
Part of the process of the domestication of animals included selective breeding. Which of the following best describes selective breeding? breeding as many anim
What number is between 9 and 12?