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

Please answer with clear instructions so that i can apply this to other equations
Read the following sentence: I am more likely to buy things if I am feeling happy. Which sentence has a similar meaning? The chances are high that I will buy so
10. How does the noun clause function in the sentence below? Whatever we do with Grandpa always gives us great joy. A. subject B. direct object C. object of the
PLZ HELP ITS DUE TOMORROW!!!!!
Decrease £180 by 12.5%
Solve the equation x/2 - 2/x+1 =1
What is the evaluation criteria
VERY VERY IMPORTANT QUESTION PLEASE SOLVE IT;(​
the 3rd question i need answers​
What is the effect of the inheritance of one trait on the inheritance of a second trait?