rachelbrooks8670 rachelbrooks8670
  • 03-10-2019
  • Computers and Technology
contestada

What statement would you use to read a value from keyboard input into the variable cheeses?

Respuesta :

SerenaBochenek SerenaBochenek
  • 06-10-2019

Answer:

Statement to read input in C++.

cin>>cheeses;

Explanation:

To read a value from keyboard in C++, we use "cin>>variable;" statement.

This will read a value from the keyboard and store that value in the variable.

Before reading any value to a variable, first we need to declare a variable that can store the value.

Implementation in c++.

#include <bits/stdc++.h>

using namespace std;

int main()

{

int cheeses;

cin>>cheeses;

return 0;

}

Answer Link

Otras preguntas

What could be used as a symbol in a story A. An artifact with special meaning B. The central conflict of the story C. And authors personal opinion D. The chara
how did the study of fossils help support darwin's ideas about evolution?
Why can you separate isomers through distillation
an organism's genetic information is stored within the sequence of
When did america enter the pacific theater in wwii?
Find the AGI and taxable income gross income $23670 Adjustments $0 1 exception $8200 Deduction 0
The value of n is both 5 times as much as the value of m and 36 more than the value of m. What are the values of n and m? Explain.
Which is not a class characteristic of a suspect's sneakers?
Clouds that form over water are usually more efficient in producing precipitation than clouds that form over land. why?
HIGH CHANCE OF GETTING BRAINIEST!!!Which clouds look like wispy locks of hair and are high in the sky?