WEBVTT

00:00.819 --> 00:07.039
Hi guys today, I'm going to teach
the concept of variable variable mean

00:07.039 --> 00:13.569
which is the data which can store under
the memory, not permanently its temple

00:14.310 --> 00:22.889
This is the simple definition of variable. First
of all, we'll see how to create the variable

00:24.000 --> 00:33.369
You can create the variable of any name. You can create
as a variable like X or whatever name you can create

00:33.369 --> 00:41.209
as variable. But another important task is
you can't create the variable as a number

00:42.470 --> 00:46.970
You can't create the variable as any halt
number. You can't create as a variable

00:48.060 --> 00:48.930
first

00:49.810 --> 00:50.459
X

00:51.680 --> 00:59.799
mean this is the variable. I'm
going to store some data equal A

01:02.569 --> 01:11.620
X mean it's called a variable. 10. Mean
is a data that 10 goes and goes to store

01:11.690 --> 01:15.180
under this variable X can all 10

01:16.220 --> 01:25.370
This is the meaning of variable when you're creating the
variable. Another important task is you have to specify the

01:25.370 --> 01:32.930
data type, which is the appropriate data type.
You are going to store the store this 10 variable

01:32.980 --> 01:34.720
So this is

01:37.459 --> 01:46.519
integer. So this is the considered as integer because
it is a number you have to specify the data type as

01:46.519 --> 01:51.330
integer, integer. Mean it, this is called as indicator

01:52.790 --> 01:59.000
This how you can create the
variable if you want to store some

02:00.010 --> 02:06.400
string string ma how can you store as a
string value? String value means some text

02:07.349 --> 02:08.240
So

02:11.009 --> 02:13.029
this is the string variable

02:17.889 --> 02:20.779
some ABC, something like that

02:25.600 --> 02:33.820
some variable I put it here. So you
have to specify the data type string

02:37.729 --> 02:42.139
This text is belongs to string, data type

02:44.169 --> 02:50.860
X can or ABC string value. It
belongs to data type string

02:51.850 --> 02:56.970
isn't it? If you store the integer value
numbers, it is belongs to integer data type

02:57.630 --> 03:04.220
This is the basic three task.
This is the meaning as data type

03:12.820 --> 03:13.429
This is

03:14.570 --> 03:17.100
called as variable

03:20.270 --> 03:22.500
variable can hold any data

03:23.800 --> 03:24.860
This is the

03:25.639 --> 03:27.490
meaning by data

03:30.199 --> 03:36.250
If you don't take a note of it, this is a very
important task when you are creating the variables

03:42.100 --> 03:43.990
This is the basic task

03:45.509 --> 03:54.740
Got I hope you, you you all understand this concept.
Very basic concept if you want to store some decimal

03:54.740 --> 03:56.860
point values. So

04:00.539 --> 04:03.309
I put the creative variable and 3rd

04:13.820 --> 04:16.309
and decline some salary like this

04:19.910 --> 04:20.980
I put the data type

04:22.809 --> 04:23.579
double

04:26.989 --> 04:31.679
that mean you can store the pointing values

04:32.459 --> 04:36.700
you can store any this point values. You can

04:37.910 --> 04:41.109
it belongs to double data type

04:42.529 --> 04:43.179
Got it

04:44.609 --> 04:48.940
OK. I hope you guys all understand
these concepts. Let me move

04:48.940 --> 04:53.940
move into the some example. So
it is very helpful for you all

04:56.880 --> 04:58.290
Let me remove this

05:01.760 --> 05:04.170
1st. I'm going to

05:05.230 --> 05:09.040
Declare two numbers and calculated the total

05:10.049 --> 05:19.190
First I input two numbers. 10 comma 20. I want
to calculate and display the to how to do this

05:19.190 --> 05:21.279
task using variable

05:22.790 --> 05:29.609
Declaring to be integer variables, integer
variables and calculator and display the talk

05:29.839 --> 05:35.869
So first in X is one variable. So 10

05:38.529 --> 05:40.500
again, didn't why

05:41.269 --> 05:42.519
another variable

05:44.079 --> 05:48.929
I have input two data, 10
and 20. It's, it's all, all

05:49.760 --> 05:58.059
10 store um 10 can store uh
10 x can store 10 y can store

05:59.000 --> 05:59.809
20

06:00.980 --> 06:08.149
I'm going to calculate.
So in dot equal X plus Y

06:09.850 --> 06:11.170
Now what happened is

06:12.309 --> 06:18.299
what, what do you mean
by X X all 10 by all 20

06:18.299 --> 06:24.500
So here 10 comes 20 comes
both that and so into

06:25.450 --> 06:26.459
thought variable

06:27.329 --> 06:33.000
Now you are going to print
the value conor dot right line

06:43.260 --> 06:48.299
After you write, you have to read
the, read the, read the variable

06:48.299 --> 06:51.410
So you have to call the red line method

06:54.429 --> 06:56.339
When you execute the program

07:00.130 --> 07:02.660
you can get the output ass to it

07:03.899 --> 07:09.549
This how you can create the variable
and calculate the calculate to

07:09.549 --> 07:14.410
to the, to this data and get
the output like this. I know

07:14.410 --> 07:20.290
I hope you guys you all enjoy this tutorial.
You can get in touch with my upcoming tutorial

07:21.160 --> 07:24.399
Please subscribe my channel. Thanks
