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

Harry worked 7 hours last week this is one third as many hours as Aiden work how many hours did Aiden work
Functions, I appear to be confused upon this particular question
Harry worked 7 hours last week this is one third as many hours as Aiden work how many hours did Aiden work
7-10 events from "The Raven" by Edgar Allen Poe in order
what does the severity of previous traumatic events mean
what is the simplified form of the following expression?Assume a is greater/= 0, and c is greater/= 014(^4√a^5 b^2 c^4) -7ac(^4√ab^2)A) 7ac(^4√ab^2)B) 7(^4√ab^2
How does genetic modification variation differ from genetic sexual reprodution variations
Solve by completing the square: −2x^2+24x−40=0
What is the value of the expression 3y−zy+5z when y = 6 and z = 2?
PLEASE HELP ASAP!!! CORRECT ANSWERS PLEASE!!!