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 the interior angle measure of a convex decagon?
The color produce when the following compound is burnt LiCl NaCl KCl CaCl2
The CEO of a large manufacturing company is curious if there is a difference in productivity level of her warehouse employees based on the region of the country
You observe the following pattern: J, K, N, B. What is the next letter in the sequence? a. X b. B c. G d. U e. E f. S
What is the infinitive of the verb form of this word? Example: promotion--to promote (resolution _________)
Write these five numbers in order of size. Start with the smallest number. 2.5 0.5 0.52 2.2 0.25
Can you please translate "Iugurtha, rege Numidiae, victo, Marius bellum contra Cimbros et Teutones suscepit." from Latin to English.
6÷15(x-3) =2÷3(x+6)​
Which system has the least amount of government involvement in the economy? socialism capitalism communism collectivism
someone tell me which ones to check