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 3a + 1 = -3.6(a - 1)
A bus slams on its breaks and goes from 30 km/hr to 15km/hr in 4 seconds. What is its acceleration?
rounding 672,831 to the tens place? hundreds place? thousand place? ten thousand place? and hundred thousands place?
What problems brought on the tariff debates of 1827 and 1828? In what way did the South respond to northeastern demands for a higher tariff, and on what did the
A car is driven 100 kilometers in the 1st week, 130 kilometers in the 2nd week, 160 kilometers in the 3rd week, and so on. What will be the total distance trave
43.586 rounded to the nearest hundredth
22/100 in simplest form?
Which number line shows 1/3 and it's opposite
Explain why contact trace evidence is so important in solving crimes.
55/100 in simplest form?