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

Make a title about this short paragraph and write a statement that is your own opinion about the paragraph
this one aswell haha i dont know any of these
In a molecule of water (H2O), two hydrogen atoms are each bonded to one oxygen atom. What forms each of the two bonds?
help me!!!!Determine the value of each car after 5 years.
Express as in Kg using decimals. a) 12 g. b) 7 g. c) 35 kg 15 g. d) 675 g
Is √8 a rational number ?
Why were the Chinese divided into two parties? How did this affect their unity?​
Which detail in the excerpt suggests that the narrator may be unreliable? The narrator suggests that he has remembered every detail. The narrator suggests that
For each of the figures, write an absoulute value equation that has the following solution set.
Solve: 3x - 3= x +5 please can someone solve this I will give brainiest