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

PLEASE HELP ASAP I LOVE YOU I'LL GIVE BRAINLY
Locke believed that no government can exist without the consent of the ________. A)government B)governed C)constitution D)police
21st-Century Skills: Interview Skills Interactive: Practice InterviewRead the site and click through various pieces of information. How could you use this infor
Match the following rational expressions to their rewritten forms. Rational Expressions: x^2+x+4/x-2 x^2-x+4/x-2 x^2-4x+10/x-2 x^2-5x+16/x-2 Rewritten Forms: (x
Why is our country regarded as the common flower garden of all castes
please I need an answer urgentlywhat is symbiosis?​
Question 18. Suppose we have a piece of cardboard that is 40 cm by 25 cm.
Writing Equations of Parallel Lines y 10 What is the slope of the line that is parallel to the given line and passes through the given point? 8 6 What is the eq
please help me on this!!
what was the author implying when she wrote the sentence