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

The radio transmitter and aerial radio antenna was an innovation of A. Guglielmo Marconi B. Thomas Edison C. Alexander Graham Bell D. Jean Lenoir E. Gustav
How can I find the value of 78 x n when n= 3237
There are 200 paperweights in a box. The mass of each paperweight is 0.085 kilogram. The mass of the empty box is 560 grams. What is the total mass of the box a
How can you do 461 divided by 3 the old school way
The circulatory system is an organ system that is composed of __________. cells, organs, and organisms cells, tissue, and organisms tissue, organs, and organism
What is 1\2 - 3\11 simplified?
What is a sentence with the word Evasively?
three times a number is 42. What is the number?
As more matter gets packed into the same amount of space what happens to the materials density
Tonya runs 8 kilometres in 60 minutes. At a rate how long would it take her to run 2 kilometers