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

What statement would you use to assign the value 32 to the variable cheeses?

Respuesta :

SerenaBochenek SerenaBochenek
  • 06-10-2019

Answer:

Statement to assign 32 to variable cheeses.

cheeses=32;

Explanation:

To assign any value to a variable in any programming language, we use "="operator.First declare a variable "cheeses"of type "int" in this case.Then assign 32 to variable "cheeses" with the help of "=" operator.After assigning 32 , variable will store 32 in it.

Implementation in c++.

#include <bits/stdc++.h>

using namespace std;

int main()

{

int cheeses;

cheeses=32;

return 0;

}

Answer Link

Otras preguntas

Which of the following describes slavery’s role in the Southern economy? (1 point) A. Slavery was expensive. B. Slavery was forbidden. C. Slavery was a luxury.
It's cut off, but it says diagram*
What is the probability that a fair die never comes up an even number when it is rolled six times?
How many oranges does the average american eat in one year?
Help with number 22 please
explain possible consequences if someone is issued with afraudulent licence
The average maximum temperature in January for Killeen, Texas is 59º F. The average maximum temperature in January for Buffalo, New York is 27º F. This January,
The audience for a particular piece of writing is teenagers. The purpose of the text is to inform about the risks of eating unhealthy food. What form of writin
How do enzyme inhibitors maintain homeostasis?
Increasing atmospheric carbon dioxide has been linked to global temperatures. true or false.