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

10. Consider the diagram below. First, solve for x, then y.
What is the measure of m?
bhhhkjhjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhoaa
Find the height and area of an equilateral triangle with side lengths of 10 cm. Height:____cm Area:______cm² PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Which expression gives the volume of a sphere with radius 16? O A. $ r (262) B. 47(262) O C. (163) O D. 4t(153)
Which function has the same range as f(x)= -2sqrt (x-3)+8
I rlly need help with this
Read the excerpt from "Dream Season.” 1) Jackie never yelled back, though, and he never hid to avoid their meanness, either. 2) Jackie was calm and strong. What
is the minimum level of security mechanism in asystem.Select one:O BaselineO Security modelO Security policyO Reconnaissance​
Rain cannot occur until ____? A. the air becomes saturated with water vapor B. the water vapor exceeds an absolute humidity of 80 ppm C. a warm front meets a