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

WILL GIVE BRAINLIEST IF FAST!! GIVE GOOD REVIEWS FOR CORRECT ANSWERS!
WILL GIVE BRAINLIEST IF ANSWERED FAST!!!
answer all pleaseee
driving is a what activity
g is a transformation of f. The graph below shows f as a solid blue line and g as a dotted red line. What is the formula of g in terms of f. Choose 1 answer: A.
John's property in Richland County, OH is in the shape of a trapezoid with the dimensions shown below. 40 m 20 m 56 m - What is the area of John's property? A.
the medium that Leonardo Da Vinci used to design Mona Lisa's artwork ​
the medium that Leonardo Da Vinci used to design Mona Lisa's artwork ​
What is the reduced radical form of each expression?
answer all pleaseee