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

who knows the answer
Please anybody help me please :(
Ari has a total of 22 coins consisting of pennies and nickels. The total value of the coins is $0.54. Which equation can be used to find the number of pennies A
Since Macey did not eat breakfast this morning, she has been hungry all day. How many prepositional phrases are in this sentence?
Read this excerpt from "The Kick and the Click.” A sharp shove between the shoulder blades jolted Anthony’s mind from its wandering, and he twirled around to se
Which of these is a prime number? 156, 149, 133, 152
What is the order number of this image? a) 8 b) 9 c) none d) 4
find all missing angles. show your work.
Most products people wear are produced by machine in the same location, also known as a ______ Union urban factory house
when did rana regime begin and end ?write in full date.​