Soldiers in this room, we're going to talk about the variables, so these variables, memory locations
you can store some content in way was suppose that I want to calculate the pivot, which is controllable.
Now, if we want to, uh, use that word again, we need to rate the three point one four one, something
like that, because that's very often are.
You can return to the baseline.
So it's very, uh, not nice to use the traction because we need to remember in every part of our code.
So instead of that, we can assign that value to a variable, etc. and we can use that by variable anywhere
in our code or a calculating area circle, etc..
So in, uh, partial the variables that it's like shadows grouping and the people are you need to say
here is equal two and you need to ask, you need to specify what type, integer string, etc..
We just want to assign that, let's say high.
And now I'm going to print this.
Right.
I'll put.
Da, da, da.
You sort of see this under this group.
All right, now let's close this one and open this again.
But due to some memory issues, I have used the Dorottya before recorded SURIEL, so that's so.
So now let's go around on this.
As you can see, first hurdle, OK, let's remove the hurdle and let's run this.
You can see the highest print because the contents right now extend this to an integer.
So let's say this and run this.
So now you can see finally here.
So you can also assign some 14. variables here that certain to do.
And now if you run the script, you can see the actual value of this.
By now, you can use this story anywhere in your cholerae.
Calculating the areas are correct.
So there is no explicit declaration of this very interesting character, etc. It automatically assigns
the value to this website.
So if you want to, uh, declare explicitly you need to sell square brackets.
I need to declare the type integer.
And you need to specify here.
Now, let's say 22 and we are declaring integer 32.
So the right number will be converted into digit.
And then the sentiment expressed, as you can see now, we got the candidate.
So now let's go to the word with seven.
We get the fourteen point three billion for now.
Go on this and we'll get only three because it's around us that the small part fraction, but it will
be only the, uh, main integer, but that is three.
So in this way, you can convert any, uh, number to this, uh, integer can also convert to the restring.
So in the next, you do see what the take in the user.
So user input will be in the format.
If any user enter the numbers eight, it will be stored adjusting format.
So you need to convert.
So it's going to run this and we see that is in disarray.
And we can also, uh, access the methods of this variable we need to set up.
OK, not now you can see these are the functions you can operate compared to you can compare to another
no equals and get the tape.
So the tape is returned to the what is the table that we reviewed.
So now if you run this now, as you can see.
No, it's, uh, this is output.
It's rumold this one.
So now you are essentially to be said to be partial interpreter should access this very good to get
the word right.
So it should be said through public means anyone can access this word, but no name is indeed attached
to it.
Is that in this right, we are explicitly defining this as integer.
And you can see this is the system that we are not entitled to.
So this is that value.
So I am not that much net.
So you can see these are the class, that integer there is not value.
So this is basic about the variable you can also string.
And we can see we got this could this is the standard of the.
And you may expect some more, uh, functions for the thing, so you got the crown, you can get the
land and touching, you get the output because this is only one card, right.
So like this, where you can access the, uh, but it's also so remaining at our normal method, you
can, uh, explode.
So another thing I want to show you is get rid of.
So this variable, this variable.
I restore all the user defined variables and the different variables to run this.
Now, as you can see here, the name and the value, so I just expand this one so you can see the idea
here because we have defined you right?
You string string tight and you wear these eight.
And the arguments, you do not give any arguments and you can see these are those different variables
and you can also bring their daughter home, all you need to say is you to sit down and hit or you meet.
So you can see here the Porsche is automatically, uh, doing some intelligence and suggesting these
variables are there in our system back in the home.
And if you don't get the value of that variable, so let's go upwards and see what other variables are
interesting.
You can see the information and input, uh, machsom.
And so you can put the maximum resources as four zero nine six and you can see the other side of the
wall.
Uh, this is the greatest thing.
And it is, uh, eighty six.
And then you can see the piece from the partial version from where DISPOSER has been executing and you
can also see PWP print to the right.
So this is our work there for now because he uses it so you can access these variables using the sun.
But if you create another variable, then this will be stored in this, uh, variable information.
So I'm going to show you another way that is.
So that is new variable.
So I am going to say the cost too high so you can take the variable rate, that variable, but you can
also, uh, create new Wellsville using new variable.
You numerable, and then you're going to do the name.
It to be and then to set the very well you do Hollowell.
So now I get valuable.
If you go up, you can see the value of be here, Hollowell, you can access this as you can also get
valuable.
You can also get the variable of particular availability.
I want to get only the value of beef.
I want to be so good variable with this number so you can see the name and the value of the where it
will be here, which is Hollowell.
So in a similar way, you can also get the she can also change this, uh, variables option, variable
value using this set variable.
Yeah.
Uh, we need to specify what we're willing to change, let's say, a year and then to specify the value
of what we want to change to.
It's, uh.
Um.
Thank you, get where will year and then you get over your fear.
But we does not get changed because we do not change the beat in this way.
You can also get variable set variable and you can create a new variable using this new way.
So these are the main candidates that are invoker when we are creating this, uh, right.
In this index.
So this is the best way for anyone to just assign a value to the variable.
So I think that's all for the variables.
And I actually do see the how to take user input from the console.