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

20x+2y=9 what is the y intercept
Write the inequality given below. Three less than 5 times a number is less than 12.
Please answer the question ​
how do test with crash dummies, seat belts, and air bags illustrate newton's first law of motion??
Thanks for answering this question
How does the electoral college also show the use of federalism?
For the Standard Normal Probability Distribution, determine the specific value for Z (what we call, z) such that the probability Z is less than z equals 0.2296​
present tense for s'asseior in french​
7th grade math help me plzzzz
A woman invests $3000 in government bonds for 5 years at 7% simple interest.a)Calculate the total interest she receives for 5 years.b) Calculate the sum that mu