Connect with knowledgeable individuals and get your questions answered on IDNLearn.com. Discover comprehensive answers to your questions from our community of knowledgeable experts.

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=

Sagot :

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.