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 equations is the translation 2 units up of the graph of y = |x|? y = |x - 2| y = |x + 2| y = |x| - 2 y = |x| + 2
Which words best describe Granny's character? Select all that apply. brave crazy disorganized cunning
This question is based on the following passage. The sentences are numbered to help you answer the question. (1) Do you enjoy being out in the fresh air? (2) D
Can someone help me with the bottom one aka 7-62 please
Who benefits from the 14th amendment?
What is the common ratio in each geometric sequence?
Hay que mantener un ______________ de cuarenta y ocho mil pesos.
I need help on this...
Abigail has 16 apples she eats 2 apples per day.let y be the apples remaining as a function of the number of week,x
The kidneys are paired structures that __________.