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

What does the suffix -ology mean? a. an action or practice b. a condition or state c. a belief or branch of learning d. a form of government
Who led most of the Italian Renaissance city-states? a. doges b. artists and architects c. monarchs d. powerful merchant families
What religions of the world had Europeans explored by late 1700
how to write 43.78 in word form
write 19/20 as a decimal without using long division
what does john locke mean when he says that all men are naturally in "a state of perfect freedom with the bounds of the law of nature"
What Is The Property Of (20 x 18) x 5 = 20 x (18 x 5) Please Tell Me The Answer Thank You If you did I need help With it
Suppose the leftmost digits of two numbers are 8 and 3. Can you tell which number is greater? Explain.
As a testament to how bad smoking is, _____ of current smokers would like to quit. A. 90% B. 85% C. 70% D. 60%
4 1/3 divided by 2 1/3