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

-4 + -7 (-2) =? Minus equations always give me trouble :/
work out the curved surface area of this solid cone. give your answer rounded to 1 DP
If a polynomial p(x) is divisible by (x-2) and 4 is a zero of p(x), write a factor of p(x) of degree 2.
When 2 plates collide with enough force, blank occurs,breaking the crust?
What economic activities flourished in the Middle colonies?
How many moles of silver atoms are in the piece of jewelry??
someone please help!!!!! SERIOUS ANSWERS ONLY!!!!!!
Which statements can be represented by this equation? Check all that apply. 2x-9.2=n+4/5. A)Twice a number minus nine and two-tenths is the same as the number p
-4 + -7 (-2) =? Minus equations always give me trouble :/
In what ways does this context of violence in the united states promote child maltreatment?