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 effect did the Revenue Act of 1926 have on Americans?
What is the lcm of two numbers that have no common factors greater than 1?
6.5 write in word form
Brandon owns nearly 2 times as many CDs ads Ingrid. Brandon owns 56 CDs. Write an equation and use it to estimate the number n of CDs Ingrid owns.
What is the relationship between rational numbers and ratios
Calculate the number of moles 2.25 g of Na2CO3  0.800 g of NaOH  17.75 g of Na2SO4
-2m + 4m + 5 = -3 Tell me what you did please!
arrange following numbers in increasing order 2.3,45.1,18.735,0.9862,7
what is the least 10 digit whole number
A bus on a regular schedule takes 3 1/4 hours to reach its destination. The express bus takes 2 1/2 hours to make the same trip. How much travel time can be sa