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

Suppose that a rectangle has a perimeter of 24 meters. Express the area A(x) of the rectangle in terms of the length x of one of its sides. A(x) = ??
what evidence shows that sumerians where not prehistoric
what are ten facts about Henry Morgan
Simplify the expression. [90 – (12 + 13)](15 ÷ 3)
2x+8=22 how do I figure out the answer to problem 2x+8=22 ?
A spinner is divided into 16 sections.3 sections are red 6 are blue 5 are purple and 2 are orange. If you spin the spinner what is the probability that you will
A. Rice costs $1.33 per kilogram. How much will 1.3 kg of rice cost? B. Milk costs $.71 per liter. How many liters can you buy with $3.00 C. How are part (a) a
What two numbers has a lcm of 50
David bought a game on sale for $6 less than half its original price.she paid $88 for the jacket. What was the original price
What served as the basic building blocks of African society?1: feudal contracts2: lineage groups3: slaves4: camel caravans