Return to site

Learn SEO from the Best Top SEO Company in USA America

So we have now seen the different kinds of variables. And the next thing that we should know is that we can define what kind of variable that I'm going to create. OK. What I mean is that if I want to create an integer and if I wanted to create only an integer I can say well my in your with a column and say what kind of type do I want in. For example, Lean SEO and Social Media marketing from the best Best

Top SEO Company in India

for in C you're now e cools to something like. So I'm very sad you actually understand when I assign the value of to X or any variable but if I want an integer but only an integer I can just define this with this method right in here. I can say while our as a double. OK. And it's going to be equal to. And as you can see it gives me error what the error it says that we expect at all. But you give us and in SR. So I have to say Phyfe points to make it double.
 
Right. So as you can see I have prevented it's rare to be an integer by mistake. I have to give it a double value. So maybe our user will impart some value and if I want to correct it into a double or integer or a string or anything digital agency may have to redefine the kinds of a variable that I want to create like in this case I want our to be double not an integer.

broken image

OK, so I think you now understand the difference between pre-defined or not. I can do this in streams as well. Right. I can say well my name is going to be a string and it's going to be LARUS. So this is the same thing best Best Top SEO Company in USA America with the same ball. My name ECOs too large but I am redefining the type of here type of the table here and I can do this in the Boullion as well. Obviously a. Please note that not every time we are going to have an initial value in most of the cases a user will provide some values. So we're going to use this pre-filing kind a lot in our application is our projects and it will help us to properly organize our code and work with rebels effectively.

K in this lecture we're going to learn about race. So we're going to use arrays a lot in our programs in our applications. So while our area. So let me just start by typing erasing here. So maybe the name gives you some clues. We are going to Lean SEO and Social Media marketing from the best Best Top SEO Company in USA America hell and are in which we can store some data. So we're going to store a set of variables in our race. Think of this like this. You have social media where you have thousands of users and you want to make some changes in a real user.

In this lecture, we're going to talk about different kinds of variables. So we already have seen two different kinds actually. We have just seen the numbers and it can be different than numbers right. So we have seen to and best Best Top SEO Company in USA America. and three-point fourteen is actually different than the rest of the numbers. We will see the difference number. Variables are actually can be categorized into two did a show in decimal once. And the whole numbers. So the whole numbers here are actually called integers k. So integer is actually a whole number.

You cannot show the decimals of these numbers. So is an integer is anti-euro is an integer. And we have at twenty-five here. And the other things digital agency and three-point fourteen is not an interest.

• It is a training institute that provides digital marketing courses, big data Hadoop courses, web designing courses, machine learning courses, python courses, and web development courses. It started in 2015 by USA SEO Agency who has an aim to aware most of the youth about Digital marketing in all over USA. Just a single Best Top SEO Company in USA America with 12 Advanced Modules that will give you in-depth practical knowledge to enhance your skills and shape your corporate career. One place to learn for Manager Level Digital Marketing and Executive Level Best Top SEO Company in USA America in all practical ways.

• Digitel- Because it shows decimals by it's rather double or a flat K double or flop is actually the same thing but doubles TAR's more digit than fucked. OK. So I will use them interchangeably but most of the time I will use double k. So let's see the difference the best Best Top SEO Company in USA America between double flopped and teenager. Let's do some operation on the interior about her other down let's say this time. K so I will delete does that make it and run it from the beginning.

• Omnidigi- So what do we expect to see? So. Multiply it by five and divided by four is actually turret. So we go down and see it is. OK. So rather than let's do. So we expect to see twenty-eight seventy-five. Right. So if we run this from the beginning let's see what we get. Kate let's go down and as you can see we don't yet. Twenty-eight. Seventy-five.

• Koenig Solution- Because this is a Teju. We only get. We don't see the decimals. If we had a double as you can say Wow. And this will be my age rather than age. And the best Best Top SEO Company in USA America it's going to be but twenty-three points. Oh damn, Dan and very will know that I'm trying to create a double rather than integer and I will create an under result called my result. It's going to be my age multiply by divided by four

Top Dallas SEO Companies

.

broken image

• Indras Academy- And I will print these my results into the locks as well. So I'm doing the same thing. OK. I am multiplying the by and dividing by. So if you can go down and see one use. Twenty-eight one uses out twenty-eight point seventy-five even though I'm doing the same thing the same operation. It gives me two different results because one is integer while the other is Double K so they are completely different kinds of variables that defy how at tax to the variable. It's called a string. It will be the same. Think it's going to be completely different. Quite so I cannot mix double and integer. So I had to cast this as one.

Highlights:

And you can choose to show the decimals to your user if you want to show you can show by creating floats or doubles. And if you don't wanna show decimals if it's not important you may create integers. I showed them to your user `K. Let's stop here and continue like section. OK, we now know how to create integers to create some bubbles and flops but the variables are actually more than just numbers. It can consist of strings tacks. OK, so Best Top SEO Company in USA America I will just type some strings here like what like if I want to store the name of my user like name equals to James and print line the name of my user. And please be a word that I have written down James witing quotation marks Kate as you can see how it's the in the looks and whatever you write within quotation marks it just to say that it's a text it's a string.

So whenever you do it it's a string. If I write down five within quotation marks it's not going to be anti-euro it's going to be a string. If I had written down I had the feeling here as a surname I can create a full name. That is the sum of the name and surname right. I can do the Best Top SEO Company in USA America this because it will just concatenate the name as her name. Right. So rather than printing out the name let's just print Leinders full name here and see what we get. We have James Hetfield but doubt any space between the name and surname. Right.

So what can we do to have a space we can have. James says this or I can go here and say like this. And while they were I put in here like space or aether thing will show up in the full name. Let's run this from the beginning and see if we can see it. James Hetfield but rather withs space this time. Yes as you can see we now have James space Hatfield's so you can work with tacts without creating some strings like in this example. And aside from strings double and thoughts and integers, we have one more basic variable kind that we have to see for we continue.

Conclusion:

That is boolean. Maybe you can come across as well. It does the same thing as Billiam so Boullion is the simplest one. It's actually rather the simplist variable kind of all like variable is a lie. True. It's going to be either true or false. So how can we use this boolean? Maybe we're creating a game and we can assign our correcter to be alive. OK if he used that we can say is alive is not false. Maybe we have some class or function with us along the best Top SEO Company in USA America the way checking out if our character is alive or dead every minute and one dysfunction sees it was false. It will do something like deducting the character lives by Vaughn. I don't know but I know that the Boolean is the simplest logic. It's either one or zero. It's either true or false. And we will use this a lot in our examples. So we're now done by booleans and strings. And now let's stop here and within the next lecture, we will continue.