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 is a synonym for catalogue? Interject List Reduce Remove
What is process addiction
PLEASE HELP!!! 9. Solve the equation. Check for extraneous solutions. Type your answers in the blanks. Show your work. |4x + 3| = 9 + 2x x = _____ or _____
Which of the following statements bestdescribes Wilson's goals with his New Freedom plan?
list the three functions blood serves in the body?
The drawing (not to scale) shows one alignment of the sun, earth, and moon. the gravitational force vector f sm that the sun exerts on the moon is perpendicular
how does the mother react when she sees Gregor
A congested computer network has a 0.010 probability of losing a data packet and packet losses are independent events. a lost packet must be resent. round your
Convert 30 g/L to the unit g/mL. A) 30,000 g/mL B) 300 g m/L C) 0.03 g/mL D) 0.0003 g/mL
The main purpose of a keyword search is to _____ . A. narrow your topic one step at a time B. brainstorm ideas for your research paper C. avoid sites th