jovanjojoilic jovanjojoilic
  • 10-11-2020
  • Computers and Technology
contestada

n the diagram below, why is var typed first in front of pizza?

n the diagram below why is var typed first in front of pizza class=

Respuesta :

studiosdo614p0tfqe studiosdo614p0tfqe
  • 10-11-2020

Answer:

var is used to initialize the pizza variable

Explanation:

In order to create a variable, you first have to intiialize he variable.

This is the syntax to intiailize the variable:

var variableName

Thus, to initialize the pizza variable, you would do:

var pizza

Once you initialize the variable, you can then assign values to the variable.

pizza <- 3

Here, the value 3 is assigned to the pizza variable.  

Answer Link

Otras preguntas

Pl help it’s for homework
Donnie is 7 years old. Donnie's age is 3 years less than half of Ana's age. The relationship between their ages can be modeled by the equation 12x−3=7, where x
(REPOST) mininum of 3 people from the 21st century PLEASEEEE I STILLL NEDDD HELPPPPPPPP PLEASEEE I BEGGED YOU PLEASE PREETY PLEASE HELP
What are the indicators of nutritional requirement?
What is the function of a claim in an argument?
How does the plastic become positively charged
what is the Impacts of fishing on environmental land​
PLEASE HURRY. I'LL GIVE BRAINLIEST AND POINTS. Think about a time when you had to leave something behind. Maybe it was a friend, a home, or simply an object. Wr
In what ways does Franklin’s claim apply to the life of Frederick Douglass?
There are three states of matter: solid, liquid, and gas. is this true or false