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 MARK BRAINLIEST!!! 75 POINTS!!! Which of the following is the correct form of the quadratic formula for the quadratic equation ax^2+bx+c=0?
idk which to have chocolate milk or a homemade milkshake can anyone help me and pick which one i should make
bye math makes me cry
Describe the relationship between the healthcare industry and social progress​
1. A 10 year old, 85.21b FS labrador presented to the hospital. Cephalexin was given as a prophylactic antibiotic at a dosage of 10-15 mg/lb PO Q8 hours x 10 d.
Which region receives the most amount of rainfall
How is energy related to the change of state represent ed by the model
Hezekiah and Mark both donated money to the same charity. Hezekiah gave four times as much as Mark. Between the two of them, they donated $700. How much money d
How did European trade routes in the Eastern Hemisphere change after the 16th century?
The December 31, 2015, balance sheet of Schism, Inc., showed long-term debt of $1,380,000, $136,000 in the common stock account, and $2,610,000 in the additiona