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

rounding 672,831 to the tens place? hundreds place? thousand place? ten thousand place? and hundred thousands place?
what is 25/99 as a decimal terminating decimal or repeating decimal
Solve for the variable X=5y for y
whats the answer to -12(4/3-1)
rounding 672,831 to the tens place? hundreds place? thousand place? ten thousand place? and hundred thousands place?
why does salt separated from a salt water solution look different than the salt that dissolved in the water
(3x-4)∧2=8 how do i solve this
Write an equation to model each situation thee solve ! The tallest player on the basketball team is 77 3/4 in. Tall. This is 9 1/2 in. Taller than the shortes
On a map, 1 inch represents 1,000 miles. If the area of a country is actually 16 million square miles, what is the area of the country’s representation on the
What are the “soils” of democracy?