Westonci.ca is the Q&A platform that connects you with experts who provide accurate and detailed answers. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

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.