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

what is a high structure part of a church which has 5 letters
what is a high structure part of a church which has 5 letters
What are the functions of receptors in our body? Think of a situation where receptors do not work properly. What problems are likely to arise?
what is a high structure part of a church which has 5 letters
What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7
Mini-Project: Cents and the Central Limit Theorem 1. Collect a sample of at least 50 pennies by setting aside all the pennies you receive in change for severa
What were the major causes of WWII? Please include at least 4 answers.
Simplify the expressions: cot 0 sec 0 A. Sin0 B. Csc0 C. Cos0 D. Cos* 0
what is a high structure part of a church which has 5 letters
What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7