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 11 times 1234567
3. Explain why the 4 building blocks of "Competitive Advantage" can make an organization more successful.
Hannah has a grid of squares that has 12 rows with 15 squares in each row. she colors 5 rows of 8 square in the middle of the grid blue. she colors the rest of
Water is composed of two atoms of ________ and one atom of oxygen. question 1 options: a. carbon b. silicon c. nitrogen d. hydrogen
Koji is installing a rectangular window in an office building. The window is 8 2/3 ft wide and 5 3/4 ft high. The formula for the area of a rectangle is A=bh
The three domains are
Los profesores insisten que nosotros __________ a tomar clases de verano
The slope of the line below is 2. Use the coordinates of the labeled point to find the point-slope equation of the line.
what is the meaning of life
Which of the following are correct statements about the slope formula? Check all that apply.